adding onRoomJoin method