made change to session logout