Complete CategoryController class