Added PostServlet to handle requests to check text.