wire up search box to api call