add pagination for search and index for listings