new course bean and category beans and new function in Manage class