complete deactivateCourse.php