Updated search to pull from the rails server results from /search endpoint