add setting to ignore logout