delete course is now working with ajax