anchor.diff:  
               <ul class="nav navbar-nav">
                   <%
  -                    UserBean currentUser = (UserBean) session.getAttribute("currentSessionUser");
  +                    currentUser = (UserBean) session.getAttribute("currentSessionUser");
                       if (currentUser != null && currentUser.isValid())
                       {
                           System.out.println("Userbean: " + currentUser + " name: " + currentUser.getUsername());
  
positive.code: <%@ page pageEncoding="UTF-8" import="authentication.UserBean" %>
  <%!
      public boolean isLoggedIn = false;
  %>
  <script>
      // This is called with the results from from FB.getLoginStatus().
  
negative.code:             else
              {
                  console.log("Al ingelogd");
                  if(<%=currentUser%> !== null)
                  {
                      location.href = '/CIMS/index.jsp';
                  }
              }
  
          });
  