changed password fields in register page to password type