anchor.diff:                  "csw":                <js:quote><stripes:url beanclass="nl.b3p.viewer.stripes.CatalogSearchActionBean"/></js:quote>,
                   "arcqueryutil":       <js:quote><stripes:url beanclass="nl.b3p.viewer.stripes.ArcQueryUtilActionBean"/></js:quote>
               };
  -            
  -            function updateLoginInfo() {
  -                <c:if test="${pageContext.request.remoteUser != null}">
  +        
  +            var user = null;
  +            
  +            var updateLoginInfo = function() { };
  +            <c:if test="${actionBean.user != null}">
  +                user = ${actionBean.user};
  +                
  +                updateLoginInfo = function() {
                       var link = document.getElementById("loginLink");
                       if(link) {
                           link.innerHTML = "Uitloggen";
  
positive.code:                     Ext.EventManager.onWindowResize(function () {
                          viewerController.resizeComponents();
                      });        
                      
                      viewerController.addListener(viewer.viewercontroller.controller.Event.ON_COMPONENTS_FINISHED_LOADING, updateLoginInfo);
                  });
              }());
  
negative.code:                     }
                      var info = document.getElementById("loginInfo");
                      if(info) {
                          info.innerHTML = "Ingelogd als <b>" + user.name + "</b>";
                      }
                  }
              </c:if>
              
              function login() {
                  window.location.href = <js:quote><stripes:url prependContext="true" value="${actionBean.loginUrl}"/></js:quote>;
  