added ability to create, edit and delete categories