Added logout menu item and progressbar