use curlHandle to keep session
add createSearchJob function