updated getallcourses,visitallcourses,getsubscribedstudent