session logout fix