Adding paging for the search results