get course delete button working