Added class to use for registration. Registration now updates available seats in course table