get search form working