made password field in registration of type password