add framework for removing users from the userslist on browser close