add paging service
add paging function for searching results