fixed not logging out