code: public User getMe() {
          User u = User.current();
          if (u == null)
              throw new AccessDeniedException("/me is not available when not logged in");
          return u;
      }
docs: Exposes the current user to {@code /me} URL.