made the leave game button work