moved SQL out of MessageServlet