update category controller to use category service