add paginator to search
add search  sql steads