modified app.js and /results and /search to test out searching on the server.  still needs to happen more smoothly though