added display of messages sent to server.