```coffeescript
@index = (req, res, next) ->
  user = req.user
  { customer, policy } = user.related()
  policy.authenticate(user.get('access_token'))
  customer.authenticate(user.get('access_token'))

  Promise.all [
    user.fetch()
    policy.fetch()
    customer.fetch()
      .catch -> #
  ]
    .then ->
      res.locals.sd.USER = user.toJSON()
      res.locals.sd.POLICY = policy.toJSON()
      res.locals.sd.CUSTOMER = customer.toJSON()

      res.render 'index',
        tab: req.params.tab
        user: user
        policy: policy
        customer: customer

    .catch next
```

Add headers to settings app
user
```coffeescript
@index = (req, res, next) ->
  user = req.user
  { customer, policy } = user.related()
  policy.authenticate(user.get('access_token'))
  customer.authenticate(user.get('access_token'))
  
  headers = {
    'X-AUTH-TOKEN': user.get('access_token'),
  }

  Promise.all [
    user.fetch({ headers })
    policy.fetch()
    customer.fetch()
      .catch -> #
  ]
    .then ->
      res.locals.sd.USER = user.toJSON()
      res.locals.sd.POLICY = policy.toJSON()
      res.locals.sd.CUSTOMER = customer.toJSON()

      res.render 'index',
        tab: req.params.tab
        user: user
        policy: policy
        customer: customer

    .catch next
```
assistant