fixed errors with ENUM types in URL in createUser method of the
UserService