Created has_and_belongs_to_many relationship between users and courses.