Updated SearchServlet for Amazon Web Service