implemented to receive messages from the server;
added the display of messages; fixed css styles;
added parsing of messages;