offline messages not get printed to the chat window on client login