replaced username with email in the login form.