                       type: 'password',
                       className: 'form-control'
                       id: "input-#{name}"
+                      ref: name
                       placeholder: 'Password'
                       name: name
                       value: that.getValue(name)
-                      onChange: that.handleChange
+                      onChange: that.updateCursorFromForm
                     }
                     if that.hasSuccess(name)
                       # TODO put this into its own component

      console.log 'ComponentLogin', 'render', 'this.state', this.state
      reactKup (k) ->
        k.div {className: 'ComponentLogin'}, ->
          unless that.isReadyForRender()
            return
          k.build ComponentNavigation
          k.div {className: 'container'}, ->
            k.div {className: 'row'}, ->

                      type: 'text',
                      className: 'form-control'
                      id: "input-#{name}"
                      ref: name
                      placeholder: 'Email or username'
                      name: name
                      value: that.getValue(name)
                      onChange: that.updateCursorFromForm
                    }
                    if that.hasSuccess(name)
                      # TODO put this into its own component
