NOJIRA add code to prevent premature logouts