Added functionality to restrict current course members from registering multiple times