Added docs and better test coverage for UserService