     @addSubView @mainSection
     @addSubView @mainFooter
 
-    @switchToCredentials()
-
     @on 'KDObjectWillBeDestroyed', ->
       kd.singletons.router.handleRoute '/IDE'
+
+    { computeController } = kd.singletons
+
+    resetState = =>
+      @storage.unsetKey ACTIVE_MIGRATION
+      @switchToCredentials()
+
+    if activeMigration = @storage.getValue ACTIVE_MIGRATION
+
+      new kd.NotificationView
+        title: 'Checking migration status...'
+
+      { eventName, eventId } = activeMigration
+      if not eventName or not eventId
+        resetState()
+      else
+        computeController.getKloud()
+          .event [{ type: eventName, eventId }]
+          .then (event) =>
+            if event.err
+            then resetState()
+            else @switchToMigrationProcess activeMigration
+          .catch =>
+            resetState()
+
+    else
+      @switchToCredentials()
+
 
 
   setBackLinkCallback: (cb) ->

      @storage.setValue ACTIVE_MIGRATION, { eventName, eventId }
      computeController.eventListener.addListener eventName, eventId
      computeController.on eventName, handler
    computeController.getKloud().migrate(
      provider: 'aws'
      groupName: slug

    @statusText.hide()


  switchToMigrationProcess: (migrateEvent) ->

    { computeController } = kd.singletons
    { slug } = getGroup()
