Added a feature to register/unregister courses