auto logout old session