change input type in login view