logger.debug("Error - Team name entered does not exist in system");
return ControllerHelper.buildErrorMAV(ERROR_MESSAGE);
}
String userName = request.getRemoteUser();
Account user = getAccountService().loadAccountByUserName(userName);
Map<String, Object> model = jsonService.buildUserProfile(user);
List<Contactable> contacts = contactService.loadAllContactables();
jsonService.addContactsToModel(contacts, model);
model.put("team", contactService.buildOrgChart(t));