changing input type to 'email'