add the type for password field