Register and login with an email address