switched input type to email