Improve printing of return
Use event to receive message from server
Add function CHAT, JOIN,  QUIT and create ThreadRoom