anchor.diff:  	ServerConfiguration.UserDatabaseConfiguration userDatabase = serverConfig.getUserDatabase();
   	UserManager.getInstance().initialize(userDatabase.getDriver(), userDatabase.getURL(), userDatabase.getUserName(), userDatabase.getPassword());
   }
  +String databaseDir = serverConfig.getDataStoreDirectory()
   String username = (String)session.getAttribute("username");
   Map<String, Integer> permissions = UserManager.getInstance().getPermissionsForUser(username);
   %>
  
positive.code: <%@ page import="org.bbop.apollo.web.user.UserManager"%>
  <%@ page import="org.bbop.apollo.web.user.Permission"%>
  <%@ page import="org.bbop.apollo.web.track.TrackNameComparator"%>
  <%@ page import="java.util.Map"%>
  <%@ page import="java.util.HashMap"%>
  <%@ page import="java.util.Collection"%>
  
negative.code: 	out.println(line);	
  }
  %>
  var tracks = new Array();
  <%
  Collection<ServerConfiguration.TrackConfiguration> tracks = serverConfig.getTracks().values();
  
  boolean isAdmin = false;
  if (username != null) {
          for (ServerConfiguration.TrackConfiguration track : tracks) {
                  Integer permission = permissions.get(track.getName());
                  if (permission == null) {
                          permission = 0;
                  }
                  if ((permission & Permission.USER_MANAGER) == Permission.USER_MANAGER) {
                          isAdmin = true;
                  }
                  if ((permission & Permission.READ) == Permission.READ) {
                          out.println("var track = new Array();");
                          out.println("tracks.push(track);");
                          out.println(String.format("recent_changes.push('<p>%s</p>');", database.entry()));
                  }
          }
  }
  %>
  
  
  google.load("dojo", "1.5");
  