printing msg from chats