fixing some bugs in the UserValidator class