webResourceManager.requireResource("com.atlassian.auiplugin:ajs");
webResourceManager.requireResourcesForContext("speakeasy.admin");
try
{
final Settings settings = speakeasyService.getSettings(user);
resp.setContentType("text/html");
render("templates/admin.vm", ImmutableMap.<String,Object>builder().
put("user", user).
put("contextPath", req.getContextPath()).
put("staticResourcesPrefix", webResourceManager.getStaticResourcePrefix(UrlMode.RELATIVE)).