api categories controller to return bookmarks with categories