webResourceManager.requireResource("com.atlassian.auiplugin:ajs");
webResourceManager.requireResourcesForContext("speakeasy.user-profile");
boolean devMode = speakeasyService.canAuthorExtensions(user);
final UserPlugins plugins = speakeasyService.getRemotePluginList(user);
render("templates/user" + (useUserProfileDecorator ? "-with-decorator" : "") + ".vm", ImmutableMap.<String, Object>builder().
put("accessList", speakeasyService.getRemotePluginList(user)).
put("user", user).
put("req", req).
put("baseUrl", applicationProperties.getBaseUrl()).
put("contextPath", req.getContextPath()).
put("enabledPlugins", filter(plugins.getPlugins(), new EnabledPluginsFilter())).
put("availablePlugins", filter(plugins.getPlugins(), new AvailablePluginsFilter())).
put("rowRenderer", new RowRenderer(req.getContextPath(), plugin)).
put("jsdocRenderer", new JsDocRenderer(plugin, commonJsModulesAccessor.getAllPublicCommonJsModules())).
put("staticResourcesPrefix", webResourceManager.getStaticResourcePrefix(UrlMode.RELATIVE)).
put("product", productAccessor.getSdkName()).
put("devmode", devMode).