Changed type from text to email in the user input