Convert login form to email type