     @hasError = null
 
 
-  turnOnMachine: ->
-
-    computeController = KD.getSingleton 'computeController'
-    computeController.off  "error-#{@machineId}"
-
-    @emit 'MachineTurnOnStarted'
-
-    methodName   = 'start'
-    nextState    = 'Starting'
-
-    if @state in [ NotInitialized, Terminated ]
-      methodName = 'build'
-      nextState  = 'Building'
-
-    computeController.once "error-#{@machineId}", ({err})=>
-
-      unless err?.code is ComputeController.Error.NotVerified
-        @hasError = yes
-
-      @buildViews State: @machine.status.state
-
-    KD.singletons.computeController[methodName] @machine
-
-    @state = nextState
-    @buildViews()
-
-
-  prepareIDE: ->
-
-    KD.getSingleton('computeController').fetchMachines (err, machines) =>
-      return KD.showError "Couldn't fetch your VMs"  if err
-
-      m = machine for machine in machines when machine._id is @machine._id
-
-      KD.getSingleton('appManager').tell 'IDE', 'mountMachine', m
-      @machine = m
-      @setData m
-
-      @emit 'IDEBecameReady', m
-
-
   handleNoMachineFound: ->
 
     {@state} = @getOptions()


    else
      @buildViews()


  buildViews: (response)->

    @buildViews()
    @createFooter()
    return @show()


  turnOnMachine: ->

    computeController = KD.getSingleton 'computeController'
    computeController.off  "error-#{@machineId}"

    @emit 'MachineTurnOnStarted'

    methodName   = 'start'
    nextState    = 'Starting'

    if @state in [ NotInitialized, Terminated ]
      methodName = 'build'
      nextState  = 'Building'

    computeController.once "error-#{@machineId}", ({err})=>

      unless err?.code is ComputeController.Error.NotVerified
        @hasError = yes

      @buildViews State: @machine.status.state

    KD.singletons.computeController[methodName] @machine

    @state = nextState
    @buildViews()


  prepareIDE: ->

    KD.getSingleton('computeController').fetchMachines (err, machines) =>
      return KD.showError "Couldn't fetch your VMs"  if err

      m = machine for machine in machines when machine._id is @machine._id

      KD.getSingleton('appManager').tell 'IDE', 'mountMachine', m
      @machine = m
      @setData m

      @emit 'IDEBecameReady', m


  verifyAccount: ->
