Added a leave room functionality