req.setAttribute("isUserAdmin", userService.isUserAdmin());
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
Query q = new Query("ChatUser").addSort("jid");
PreparedQuery pq = datastore.prepare(q);
List<Entity> results = pq.asList(FetchOptions.Builder.withLimit(100));
req.setAttribute("chatUsers", results);
req.setAttribute("hasChatUsers", !results.isEmpty());
req.setAttribute("status", getStatusEntity());