added condition to clear user from lobby if quiting