     token = url.parse(newURL, true).query.ide_token
     confirmOauthToken(token).then (res) ->
       return unless res?
-      atom.config.set('integrated-learn-environment.oauthToken', token)
-      atom.config.set('integrated-learn-environment.vmPort', res.vm_uid)
+      atom.config.set('learn-ide.oauthToken', token)
+      atom.config.set('learn-ide.vmPort', res.vm_uid)
       win.destroy()
 
       atom.commands.dispatch(workspaceView, 'learn-ide:toggle-terminal')

        confirmOauthToken(token).then (res) ->
          console.log "res: #{res}"
          return unless res
          atom.config.set('integrated-learn-environment.oauthToken', token)
          atom.config.set('integrated-learn-environment.vmPort', res.vm_uid)
          atom.commands.dispatch(workspaceView, 'learn-ide:toggle-terminal', show: true)
    if newURL.match(/github_sign_in/)
      win.destroy()

getVMPort = ->
  confirmOauthToken(existingToken).then (res) ->
    if res
      atom.config.set('learn-ide.vmPort', res.vm_uid)
      atom.commands.dispatch(workspaceView, 'learn-ide:toggle-terminal')
      return true

