changed username to email in the login form