adding socket.io message displaying client side