fixed session logout