SysMgr.onRequest ()
function is called at each request and checks if user is logged in and is sysadmin

Sourcecode in SysMgr/securityFunctions.js:
1:   function onRequest() {
2:      HopObject.prototype.onRequest.apply(this);
3:      if (!session.user || !session.user.sysadmin) {
4:         res.message = new Exception("userNoSysAdmin");
5:         res.redirect(root.href());
6:      }
7:      // initialize sysmgr-object in session
8:      if (!session.data.mgr)
9:         session.data.mgr = new SysMgr();
10:     return;
11:  }