accept or deny users depending on the realm