notifLogin: function(userProfile) { var self = this; if (!userProfile) throw new Error("NULL userProfile"); var user = userCtx.create(userProfile); globals.setUserCtx(userProfile); self._activate(); },
notifLogout: function() { log && log("Application Notification Logout"); globals.setUserCtx(null); },