adding null checking for category actions
working on service controller

done action create (get)