added paging for search result