Add search functionality to events