Modified the exit chat room method