implemented the categoryMgr and productMgr methods