CRUD on categories and some checking for user access