change input types on login