implemented the course synchronization and added the use of transactions for enrolment,unenrolment and synchronization