added leave_chat_room() function and command.