docs: static final String getUserId() {
      UserService userService = UserServiceFactory.getUserService();
      User loggedIn = userService.getCurrentUser();
      Preconditions.checkState(loggedIn != null, "This servlet requires the user to be logged in.");
      return loggedIn.getUserId();
    }