         {email} = user
         code    = @generateInvitationCode "group", email, "resurrection"
         invite  = new JInvitation {
-          username
           code
           email
-          maxUses : 100
-          group   : "resurrection"
-          type    : "multiuse"
-          origin  : ObjectRef(delegate)
+          type       : "multiuse"
+          group      : "resurrection"
+          origin     : ObjectRef(delegate)
+          maxUses    : 100
+          createdFor : username
         }
         invite.save callback
 

    sharedMethods   :
      instance      : ['modifyMultiuse', 'remove']
      static        : ['inviteFriend', 'byCode', 'suggestCode', 'createMultiuse',
                       'createBetaUse']
    sharedEvents    :
      static        : []
      instance      : []

            return callback err  if err
            groupObj.addInvitation invite, callback

  @createForBetaUse = permit 'send invitations',
    success: ({connection:{delegate}}, username, callback)->
      JUser = require './user'
      JUser.one {username}, (err, user)=>
