adding messaging to connection