document user and category api endpoints