Add player quit listener