adding search results pagination implementation