Fixed a problem with logout button disappearing.