fixed some logout errors