     vmController        = @getSingleton('vmController')
     canCreateSharedVM   = "owner" in KD.config.roles or "admin" in KD.config.roles
     canCreatePersonalVM = "member" in KD.config.roles
-
+    canCreateExpensedVM = yes
 
     # Take this to a better place, possibly to payment controller.
     makePayment = (type, plan, callback)->
       planCode = plan.code
-      if type is 'shared'
+      if type is 'group' or type is 'expensed'
         group = KD.singletons.groupsController.getCurrentGroup()
         group.checkPayment (err, payments)->
           if err or payments.length is 0


              paymentModal = createAccountPaymentMethodModal data, (newData, onError, onSuccess)->
                newData.plan = planCode
                group.makePayment newData, (err, subscription)->
                  if err
                    onError err

                    callback()
              paymentModal.on "KDModalViewDestroyed", -> vmController.emit "PaymentModalDestroyed"
          else
            group.updatePayment {plan: planCode, type: type}, (err, subscription)->
              vmController.createGroupVM type, planCode, vmCreateCallback
              callback()
      else
