Added JoinChat LeaveChat and in-room messaging functions