 
     fields.Username.addSubView userRequestLineEdit = @userController.getView()
 
+  initInviteTab:->
+    inviteForm = @modalTabs.forms["Send Beta Invites"]
+    KD.remote.api.JInvitation.betaInviteCount (res)->
+      inviteForm.inputs.currentState.updatePartial res
+
   initMigrateTab:->
     migrateForm = @modalTabs.forms["Migrate Kodingen Users"]
     KD.remote.api.JOldUser.__currentState (res)->


    @hideConnectedFields()

    @initMigrateTab()
    @createUserAutoComplete()


                  {inputs, buttons} = @modalTabs.forms["Migrate Kodingen Users"]
                  inputs.statusInfo.updatePartial 'Working on it...'
                  KD.remote.api.JOldUser.__migrateKodingenUsers
                    limit     : +inputs.Count.getValue()
                    delay     : +inputs.Delay.getValue()
                  , (err, res)->
                    buttons.Migrate.hideLoader()
                    inputs.statusInfo.updatePartial res
