Trying to add a search box in the search view to make a call to the API - NOT WORKING