How to Register/Deregister the Courses