Added quit listener to fix user list updating