Change input type in login and registration