added create delete method for categories controllet