Fixing the UserValidator due to JUnit tests to the User Controller