added disconnection messages to both sides