Added a model for courses. Fixed up a bug relating to form validation not taking into account a special case on registration.