Wired the typeahead with Course model