Added function uninstall_all_courses