add paging for search