added disconnection logic for room
added join and disconnect events
added p2p messaging