fixes logout session