anchor.diff:              throw new JspException(e);
           }
   %>
  -<c:if test="${sessionScope.loginHandler != null &&
  -              sessionScope.loginHandler.loginStatus == 'authenticated' &&
  -              sessionScope.loginHandler.loginRole >= sessionScope.loginHandler.editor }">
  -    <c:set var='entity' value='${requestScope.entity}'/><%/* just moving this into page scope for easy use */ %>
  +<% if ( LoginStatusBean.getBean(request).isLoggedInAtLeast(LoginStatusBean.EDITOR))  {  %>    
  +<c:set var='entity' value='${requestScope.entity}'/><%/* just moving this into page scope for easy use */ %>
       <c:set var='portal' value='${requestScope.portal}'/> 
       <div class='admin top'>
           <h3 class="toggle">Admin Panel</h3>
  
positive.code: <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Individual" %>
  <%@ page import="edu.cornell.mannlib.vitro.webapp.flags.PortalFlagChoices" %>
  <%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %>
  <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
  <%@ page errorPage="/error.jsp"%>
  
negative.code:           <p>Resource URI: <c:out value="${entity.URI}"/></p>
            </div>
      </div>
  <% } %>
  
  