             LOG.info("Portal sign out requested");
         }
 
+        IdentityManager.instance.removeEventListener(IdentityManagerEvent.SIGN_IN, identityManager_signInHandler);
         portal.addEventListener(PortalEvent.LOAD, portal_loadHandler);
         portal.addEventListener(FaultEvent.FAULT, portal_faultHandler);
         portal.signOut();

    public function PortalController()
    {
        AppEvent.addListener(AppEvent.SETTINGS_SAVED, settingsChangeHandler);
        AppEvent.addListener(AppEvent.PORTAL_SIGN_IN, portalSignInHandler);
        AppEvent.addListener(AppEvent.PORTAL_SIGN_OUT, portalSignOutHandler);
        IdentityManager.instance.addEventListener(IdentityManagerEvent.SIGN_IN, identityManager_signInHandler);
    }

    private function identityManager_signInHandler(event:IdentityManagerEvent):void

                portal.culture = cultureCode;
                portal.url = URLUtil.removeToken(url);

                IdentityManager.instance.removeEventListener(IdentityManagerEvent.SIGN_IN, identityManager_signInHandler);
                portal.addEventListener(PortalEvent.LOAD, portal_loadHandler);
                portal.addEventListener(FaultEvent.FAULT, portal_faultHandler);
                portal.load();
