add category and add assignment functionality added