Build many to many relationship, add course search