Added functionality to the Client Servlet.