updated to example settings file, adds flag to logout on browser close