added funtionality to website to show images that come back from the response
tweaking logic for the search to clear the array before pushing to it