Trim login and input type set to email.