adding search functionality to activities index