protected void showHome(RequestContext context, HttpServletRequest request, HttpServletResponse response) {
List<String> errors = new ArrayList<String>();
if (isAuthorized(context, request)) {
// User has token credentials. Use them to get and display user's activities and foods:
try {
Activities activities = context.getApiClientService().getActivities(context.getOurUser(), context.getParsedLocalDate());
request.setAttribute("activities", activities);
} catch (FitbitAPIException e) {
errors.add(e.getMessage());
log.error(e);
}