   socialapidata    = null
   currentGroup     = null
   userMachines     = null
+  userWorkspaces   = null
   usePremiumBroker = no
 
   {bongoModels, client, slug} = options

          if group
            currentGroup = group

          bongoModels.JMachine.some$ client, {}, (err, machines) ->
            console.log err  if err
            userMachines = machines or []

    currentGroup         = JSON.stringify currentGroup
    userAccount          = JSON.stringify delegate
    userMachines         = JSON.stringify userMachines
    userWorkspaces       = JSON.stringify userWorkspaces

    usePremiumBroker = usePremiumBroker or options.client.context.group isnt "koding"

