edited Log Out case for new UI