Refactured the code
fixed the responce on exception to be succes: false, not status:false
Category - add/update/delete