handle initial search request