context menu logout bugfix