search button calls search() on click