Fixed edit course and delete course