added deletion function to mycourses