implement deleting a course