Fix session logout