added search functionality to course page