updated email_registered for authorization