refactor search service and paging