Validating clients before they sign in