diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,16 @@
 # forgejo releases
 
+## 0.2.0 (2026-11-24)
+- rename executable to forgejo-tool
+- rename "repos" command to "org-repos"
+- add "user-repos" command with `listUserRepos` API
+- add "users" command with `searchUsers` API
+- add "user" command with `getUser` API
+- add "orgs" command and `listOrgs` API
+- [breaking] `listOrgRepos` and `listRepoIssues` now take an optional token
+- paginate `listOrgRepos` and `listRepoIssues`
+- use getGlobalManager
+
 ## 0.1.0 (2026-11-23)
 - inital release with `listOrgRepos` and `listRepoIssues`
 - also corresponding CLI
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -3,29 +3,31 @@
 A simple Haskell library and query cli for gitea/forgejo forges built
 on top of [gitea-api](https://hackage.haskell.org/package/gitea-api).
 
-Currently only has two functions:
+The library currently provides these queries:
 
+- `listOrgs`
 - `listOrgRepos`
+- `listUserRepos`
+- `searchUsers`
+- `getUser`
 - `listRepoIssues`
 
-and corresponding CLI tool.
-
 The package is distributed under a BSD3 license.
 
 ## CLI tool
 
-`$ forgejo --version`
+`$ forgejo-tool --version`
 
 ```
-0.1.0
+0.2.0
 ```
 
-`$ forgejo --help`
+`$ forgejo-tool --help`
 
 ```
 Forgejo client
 
-Usage: forgejo [--version] COMMAND
+Usage: forgejo-tool [--version] COMMAND
 
   Simple forgejo CLI
 
@@ -34,6 +36,40 @@
   --version                Show version
 
 Available commands:
-  repos                    list org's repos
+  orgs                     list organizations
+  org-repos                list org's repos
+  users                    search for users by keyword
+  user                     show a user's profile
+  user-repos               list repositories associated with a user
   issues                   list repo issues
 ```
+
+Use `--server https://forgejo.example.org/api/v1` to query another instance.
+To authenticate, set `FORGEJO_TOKEN` to a personal access token for that instance.
+On Forgejo, the commands use these token scopes:
+
+| Command | Token scopes |
+| --- | --- |
+| `orgs`, `org-repos` | `read:organization` |
+| `issues` | `read:issue` |
+| `users`, `user` | `read:user` |
+| `user-repos` | `read:user`, `read:repository` |
+
+`forgejo-tool orgs`: lists organization names in sorted order.
+
+`forgejo-tool org-repos ORG`: lists the repos in an organization.
+
+`forgejo-tool issues OWNER/REPO`: lists the issues in a repository.
+
+`forgejo-tool user-repos USER`: lists repositories associated with a user as
+`owner/repo`, including repositories they own and those included
+through collaboration or organization membership.
+
+`forgejo-tool users SUBSTR`: searches for users by substring and prints their
+usernames in sorted order. The server can match usernames and display names.
+
+`forgejo-tool user USER`: looks up an exact username and prints the username,
+followed by the display name and profile URL on separate lines when available.
+
+The commands fetch every page of results visible to the caller.
+In future it is planned to have an option to limit the number of results.
diff --git a/app/Main.hs b/app/Main.hs
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -3,25 +3,44 @@
 module Main (main) where
 
 import Data.List (sort)
-import Data.Maybe (mapMaybe)
+import Data.Maybe (catMaybes, mapMaybe)
 import qualified Data.Text as T
 import SimpleCmd (error', (+-+))
 import SimpleCmdArgs
+import System.Environment (lookupEnv)
 
-import Gitea.Forgejo (RepoIssueOptions(..), fedoraForge,
-                listOrgRepos, listRepoIssues,
-                Repository(repositoryName), Issue(issueNumber, issueTitle))
+import Gitea.Forgejo (RepoIssueOptions(..), fedoraForge, getUser,
+                      listOrgRepos, listOrgs, listRepoIssues, listUserRepos, searchUsers,
+                      Issue(issueNumber, issueTitle),
+                      Organization(organizationName, organizationUsername),
+                      Repository(repositoryFullName, repositoryName),
+                      User(userFullName, userHtmlUrl, userLogin))
 import Paths_forgejo (version)
 
 main :: IO ()
 main =
   simpleCmdArgs (Just version) "Forgejo client" "Simple forgejo CLI" $
   subcommands
-  [ Subcommand "repos" "list org's repos" $
+  [ Subcommand "orgs" "list organizations" $
+    listOrgsCmd
+    <$> serviceOpt
+  , Subcommand "org-repos" "list org's repos" $
     listOrgReposCmd
     <$> serviceOpt
     <*> switchLongWith "full" "Print full name"
     <*> strArg "ORG"
+  , Subcommand "users" "search for users by keyword" $
+    searchUsersCmd
+    <$> serviceOpt
+    <*> strArg "SUBSTR"
+  , Subcommand "user" "show a user's profile" $
+    getUserCmd
+    <$> serviceOpt
+    <*> strArg "USER"
+  , Subcommand "user-repos" "list repositories associated with a user" $
+    listUserReposCmd
+    <$> serviceOpt
+    <*> strArg "USER"
   , Subcommand "issues" "list repo issues" $
     repoIssuesCmd
     <$> serviceOpt
@@ -32,9 +51,24 @@
   where
     serviceOpt = strOptionalWith 's' "server" "URL" ("Forgejo server" +-+ "[default:" +-+ fedoraForge ++ "]") fedoraForge
 
+listOrgsCmd :: String -> IO ()
+listOrgsCmd url = do
+  mtoken <- lookupEnv "FORGEJO_TOKEN"
+  result <- listOrgs url mtoken
+  case result of
+    Left err -> error' err
+    Right orgs ->
+      mapM_ (putStrLn . T.unpack) . sort $ mapMaybe orgName orgs
+  where
+    orgName org =
+      case organizationName org of
+        Just name | not (T.null name) -> Just name
+        _ -> organizationUsername org
+
 listOrgReposCmd :: String -> Bool -> String -> IO ()
 listOrgReposCmd url full org = do
-  erepos <- listOrgRepos url org
+  mtoken <- lookupEnv "FORGEJO_TOKEN"
+  erepos <- listOrgRepos url mtoken org
   case erepos of
     Left err -> error' err
     Right repos ->
@@ -44,13 +78,42 @@
     printRepo repo =
       putStrLn $ (if full then org ++ "/" else "") ++ repo
 
-repoIssuesCmd :: String -> Maybe String -> Maybe String -> String
-              -> IO ()
+listUserReposCmd :: String -> String -> IO ()
+listUserReposCmd url username = do
+  mtoken <- lookupEnv "FORGEJO_TOKEN"
+  erepos <- listUserRepos url mtoken username
+  case erepos of
+    Left err -> error' err
+    Right repos -> mapM_ (putStrLn . T.unpack) $ sort (mapMaybe repositoryFullName repos)
+
+searchUsersCmd :: String -> String -> IO ()
+searchUsersCmd url keyword = do
+  mtoken <- lookupEnv "FORGEJO_TOKEN"
+  eusers <- searchUsers url mtoken keyword
+  case eusers of
+    Left err -> error' err
+    Right users -> mapM_ (putStrLn . T.unpack) $ sort (mapMaybe userLogin users)
+
+getUserCmd :: String -> String -> IO ()
+getUserCmd url username = do
+  mtoken <- lookupEnv "FORGEJO_TOKEN"
+  result <- getUser url mtoken username
+  case result of
+    Left err -> error' err
+    Right user ->
+      case userLogin user of
+        Just login | not (T.null login) -> do
+          let fields = login : catMaybes [userFullName user, userHtmlUrl user]
+          mapM_ (putStrLn . T.unpack) (filter (not . T.null) fields)
+        _ -> error' ("Missing username in profile for " ++ username)
+
+repoIssuesCmd :: String -> Maybe String -> Maybe String -> String -> IO ()
 repoIssuesCmd url createdBy state repoPath =
   case break (== '/') repoPath of
     (owner, '/':repo) | not (null owner) && not (null repo) && '/' `notElem` repo -> do
       let options = RepoIssueOptions createdBy state
-      eissues <- listRepoIssues url owner repo options
+      mtoken <- lookupEnv "FORGEJO_TOKEN"
+      eissues <- listRepoIssues url mtoken owner repo options
       case eissues of
         Left err -> error' err
         Right issues ->
diff --git a/forgejo.cabal b/forgejo.cabal
--- a/forgejo.cabal
+++ b/forgejo.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                forgejo
-version:             0.1.0
+version:             0.2.0
 synopsis:            forgejo query library and cli
 description:
         A simple Forgejo/Gitea forge query library and cli tool.
@@ -22,12 +22,13 @@
                       || == 9.6.7
                       || == 9.8.4
                       || == 9.10.3
+                      || == 9.12.4
 
 source-repository head
   type:                git
   location:            https://github.com/juhp/forgejo-hs.git
 
-executable forgejo
+executable forgejo-tool
   main-is:             Main.hs
   other-modules:       Paths_forgejo
   autogen-modules:     Paths_forgejo
@@ -58,6 +59,7 @@
                        bytestring,
                        extra,
                        gitea-api,
+                       http-client,
                        http-client-tls,
                        text
   default-language:    Haskell2010
diff --git a/src/Gitea/Forgejo.hs b/src/Gitea/Forgejo.hs
--- a/src/Gitea/Forgejo.hs
+++ b/src/Gitea/Forgejo.hs
@@ -1,40 +1,163 @@
+{-# LANGUAGE OverloadedStrings #-}
+
 module Gitea.Forgejo (
+  listOrgs,
   listOrgRepos,
+  listUserRepos,
+  searchUsers,
+  getUser,
   listRepoIssues,
   RepoIssueOptions(..),
   defaultRepoIssueOptions,
   fedoraForge,
-  Repository(..),
   Issue(..),
-  Label(..)
+  Label(..),
+  Organization(..),
+  Repository(..),
+  User(..)
   )
 where
 
+import qualified Data.ByteString.Char8 as BS
 import qualified Data.ByteString.Lazy.Char8 as B
 import Data.Char (toLower)
 import Data.Either.Extra (mapLeft)
 import qualified Data.Text as T
-import Gitea (configHost, configValidateAuthMethods, dispatchMime, issueListIssues, mimeError, mimeResult, newConfig, orgListRepos, (-&-), CreatedBy(..), E'State4(..), E'Type3(..), Issue(..), Label(..), Org(..), Owner(..), ParamType2(..), Repo(..), Repository(..), State3(..))
-import Network.HTTP.Client.TLS (newTlsManager)
+import Gitea (addAuthMethod, configHost, configValidateAuthMethods,
+              dispatchMime, issueListIssues, mimeError, mimeResult,
+              mimeResultResponse, newConfig, orgGetAll, orgListRepos,
+              repoSearch, userGet, userSearch, (-&-),
+              AuthApiKeyAuthorizationHeaderToken(..), CreatedBy(..),
+              E'State4(..), E'Type3(..), GiteaConfig,
+              Issue(..), Label(..), MimeResult, Org(..), Organization(..),
+              Owner(..), Page(..), ParamType2(..), Q(..), Repo(..),
+              Repository(..),
+              SearchResults(searchResultsData, searchResultsOk),
+              Sort(..), State3(..), Uid(..), User(..), Username(..),
+              UserSearch200Response(userSearch200ResponseData,
+                                    userSearch200ResponseOk))
+import Network.HTTP.Client (Manager, responseHeaders)
+import Network.HTTP.Client.TLS (getGlobalManager)
 
 -- | Fedora Forge api url
 fedoraForge :: String
 fedoraForge = "https://forge.fedoraproject.org/api/v1"
 
--- | List the repositories of a Forgejo org
-listOrgRepos :: String -- ^ api url
+newApiConfig :: String -> Maybe String -> IO GiteaConfig
+newApiConfig url mtoken = do
+  config <- newConfig
+  let defaultConfig = config
+        { configHost = B.pack url
+        , configValidateAuthMethods = False }
+  return $ case mtoken of
+    Nothing -> defaultConfig
+    Just token -> addAuthMethod defaultConfig $
+      AuthApiKeyAuthorizationHeaderToken (T.pack ("token " ++ token))
+
+-- | List all visible organizations.
+listOrgs :: String -- ^ API URL
+         -> Maybe String -- ^ personal access token
+         -> IO (Either String [Organization])
+listOrgs url mtoken = do
+  mgr <- getGlobalManager
+  config <- newApiConfig url mtoken
+  fetchAllPages $ \page ->
+    listPageResult <$> dispatchMime mgr config (orgGetAll -&- Page page)
+
+-- | List all visible repositories of a Forgejo org with an optional token.
+listOrgRepos :: String -- ^ API URL
+             -> Maybe String -- ^ personal access token
              -> String -- ^ org
              -> IO (Either String [Repository])
-listOrgRepos url org = do
+listOrgRepos url mtoken org = do
   let req = orgListRepos (Org $ T.pack org)
-  mgr <- newTlsManager
-  config' <- newConfig
-  let config = config'
-               { configHost = B.pack url
-               , configValidateAuthMethods = False }
-               -- `addAuthMethod` AuthOAuthFoo "secret-key"
-  mapLeft mimeError . mimeResult <$> dispatchMime mgr config req
+  mgr <- getGlobalManager
+  config <- newApiConfig url mtoken
+  fetchAllPages $ \page ->
+    listPageResult <$> dispatchMime mgr config (req -&- Page page)
 
+-- | List visible repositories associated with a user.
+listUserRepos :: String -- ^ API URL
+              -> Maybe String -- ^ personal access token
+              -> String -- ^ username
+              -> IO (Either String [Repository])
+listUserRepos url mtoken username = do
+  mgr <- getGlobalManager
+  config <- newApiConfig url mtoken
+  let fetchPage uid page = do
+        let req = repoSearch -&- Uid uid -&- Sort (T.pack "id") -&- Page page
+        result <- dispatchMime mgr config req
+        case mimeResult result of
+          Left err -> return $
+            Left ("Could not search repositories: " ++ mimeError err)
+          Right found -> return $
+            case (searchResultsOk found, searchResultsData found) of
+              (Just True, Just repos) -> Right (repos, hasNextPage result)
+              _ -> Left "Invalid repository search response"
+  result <- lookupUser mgr config username
+  case result of
+    Left err -> return (Left err)
+    Right user ->
+      case userId user of
+        Just uid | uid > 0 -> fetchAllPages (fetchPage uid)
+        _ -> return $ Left ("Missing or invalid ID for user " ++ username)
+
+-- | Get a user's profile by username.
+getUser :: String -- ^ API URL
+        -> Maybe String -- ^ personal access token
+        -> String -- ^ username
+        -> IO (Either String User)
+getUser url mtoken username = do
+  mgr <- getGlobalManager
+  config <- newApiConfig url mtoken
+  lookupUser mgr config username
+
+lookupUser :: Manager -> GiteaConfig -> String -> IO (Either String User)
+lookupUser mgr config username = do
+  result <- mimeResult <$> dispatchMime mgr config (userGet (Username (T.pack username)))
+  return $ mapLeft (\err -> "Could not look up user " ++ username ++ ": " ++ mimeError err) result
+
+-- | Search for visible users using the server's keyword matching.
+searchUsers :: String -- ^ API URL
+            -> Maybe String -- ^ personal access token
+            -> String -- ^ search keyword
+            -> IO (Either String [User])
+searchUsers url mtoken keyword = do
+  mgr <- getGlobalManager
+  config <- newApiConfig url mtoken
+  let request = userSearch -&- Q (T.pack keyword)
+  fetchAllPages $ \page -> do
+    result <- dispatchMime mgr config (request -&- Page page)
+    return $ case mimeResult result of
+      Left err -> Left ("Could not search users: " ++ mimeError err)
+      Right found ->
+        case (userSearch200ResponseOk found, userSearch200ResponseData found) of
+          (Just True, Just users) -> Right (users, hasNextPage result)
+          _ -> Left "Invalid user search response"
+
+listPageResult :: MimeResult [a] -> Either String ([a], Bool)
+listPageResult result = do
+  items <- mapLeft mimeError (mimeResult result)
+  return (items, hasNextPage result)
+
+hasNextPage :: MimeResult a -> Bool
+hasNextPage result =
+  any (BS.isInfixOf "rel=\"next\"")
+  [value | (name, value) <- headers, name == "Link"]
+  where
+    headers = responseHeaders (mimeResultResponse result)
+
+fetchAllPages :: (Int -> IO (Either String ([a], Bool)))
+              -> IO (Either String [a])
+fetchAllPages fetchPage = go 1 []
+  where
+    go page pages = do
+      result <- fetchPage page
+      case result of
+        Left err -> return (Left err)
+        Right ([], False) -> return (Right (concat (reverse pages)))
+        Right (items, _) -> go (page + 1) (items : pages)
+
 data RepoIssueOptions = RepoIssueOptions
   { repoIssueCreatedBy :: Maybe String
   , repoIssueState :: Maybe String
@@ -44,13 +167,14 @@
 defaultRepoIssueOptions :: RepoIssueOptions
 defaultRepoIssueOptions = RepoIssueOptions Nothing Nothing
 
--- | List issues in a forgejo repo
-listRepoIssues :: String -- ^ api url
+-- | List all matching issues in a Forgejo repo with an optional token.
+listRepoIssues :: String -- ^ API URL
+               -> Maybe String -- ^ personal access token
                -> String -- ^ repo owner
                -> String -- ^ repo
                -> RepoIssueOptions -- ^ issue filter options
                -> IO (Either String [Issue])
-listRepoIssues url owner repo options = do
+listRepoIssues url mtoken owner repo options = do
   let baseReq = issueListIssues (Owner $ T.pack owner) (Repo $ T.pack repo)
                 -&- ParamType2 E'Type3'Issues
       creatorReq = maybe baseReq
@@ -59,12 +183,10 @@
       req = maybe creatorReq
             ((\state -> creatorReq -&- State3 state) . toE'State4') $
             repoIssueState options
-  mgr <- newTlsManager
-  config' <- newConfig
-  let config = config'
-               { configHost = B.pack url
-               , configValidateAuthMethods = False }
-  mapLeft mimeError . mimeResult <$> dispatchMime mgr config req
+  mgr <- getGlobalManager
+  config <- newApiConfig url mtoken
+  fetchAllPages $ \page ->
+    listPageResult <$> dispatchMime mgr config (req -&- Page page)
 
 toE'State4' :: String -> E'State4
 toE'State4' s =
