Updated MessagesServlet in preparation for demo.