committed search functionality and pagination