change username to email in authentication system