Adding delete course function / Courses indexing