anchor.diff:  			out.print(property.toString().replace("'", "\\'"));
   		}
   		out.println("]';");
  +
  +		if (userSession != null) {
  +			out.println("var session='"
  +					+ userSession.toString().replace("'", "\\'") + "';");
  +		}
   		out.println("</script>");
   	}
  -
   %>
   <script type="text/javascript" language="javascript"
   	src="blogwt/blogwt.nocache.js"></script>
  
positive.code: 	rel='stylesheet' type='text/css'>
  <title><%=title == null ? "Blogwt" : title.value%></title>
  <%
  
  	if (properties != null) {
  		out.println("<script type=\"text/javascript\" language=\"javascript\">");
  		out.print("var properties='[");
  		boolean first = true;
  		for (Property property: properties) {
  			if (first) {
  				first = false;
  			} else {
  
negative.code: <%@page
  	import="com.willshex.blogwt.server.service.permission.PermissionServiceProvider"%>
  <%@page import="com.willshex.blogwt.shared.api.datatype.Permission"%>
  <%@page import="com.willshex.blogwt.shared.api.datatype.Role"%>
  <%@page import="com.googlecode.objectify.Key"%>
  <%@page import="java.util.ArrayList"%>
  <%@page
  	import="com.willshex.blogwt.server.service.role.RoleServiceProvider"%>
  <%@page
  	import="com.willshex.blogwt.server.service.user.UserServiceProvider"%>
  <%@page
  	import="com.willshex.blogwt.server.service.session.SessionServiceProvider"%>
  <%@page import="com.willshex.blogwt.shared.api.datatype.Session"%>
  <%@page import="com.google.gson.JsonArray"%>
  <%@page import="java.util.List"%>
  <%@page import="java.util.Arrays"%>
  