updated course-create functionality