Utility function for rendering responses
function render(req, res, template, data, options) {
    res.render(template, misc.merge({
      user: req.remoteUser,
      title: dreadnot.config.name,
      env: dreadnot.config.env,
      url: req.originalUrl,
      emsg: res.emsg,
      wmsg: dreadnot.warning,
      helpers: viewHelpers,
      data: data
    }, options || {}));
  }