added the search bar to the events page