logout, precondition fix

Signed-off-by: Christian Lüthold <biocodr@gmail.com>
fixed multiple item enlistment in looping menus

Signed-off-by: Christian Lüthold <biocodr@gmail.com>