Implement subscription and categories API.

Implementation of the API of the following has been completed.

- Get the list of all categories.
- Delete a category.
- Get the user’s subscriptions.