protected void respondWithHtml(final HttpServletResponse response, final String html) {
configureResponse(ResponseTypes.HTML, response, html);
}
protected User getUser(HttpServletRequest request) {
return new ProxyUser(CurrentUser.get(request), this.userRepository);
}