added ajax request to get search results