         userRoles: #{userRoles},
         userPermissions: #{userPermissions},
         currentGroup: #{currentGroup},
-        hasCreditCard: #{hasCard},
         isLoggedInOnLoad: true,
         userEnvironmentData: #{userEnvironmentData}
       };


        currentGroup = group  if group

        if currentGroup?.payment?.customer?.hasCard?
          hasCard = yes
          return fin()

        hasCreditCard client, (err) ->
          hasCard = not err?
          return fin()

    (fin) ->
      { delegate : account } = client.connection

  encoder   = require 'htmlencode'
  { argv }  = require 'optimist'
  _         = require 'lodash'
  SocialAccount = require '../../../../../servers/models/socialapi/socialaccount'

  options.client               or= {}
