initial handling of received messages in chat form