add function to course action
degree ajax interface bugy version