fixed Log Out case for new UI