       return callback err, result  if formData.isUserLoggedIn
 
       @swapAccount result, callback
+
 
   isLoggingIn: (isLoggingIn) ->
 

      kd.utils.wait @getOptions().failWait, checkConnectionState
      @on "AccountChanged", -> notification.destroy()  if notification

  detectIdleUser: (threshold = globals.config.userIdleMs) ->
    idleDetector = new IdleUserDetector { threshold }
    @forwardEvents idleDetector, ['userIdle', 'userBack']

  prepareSupportShortcuts: ->


      @_isLoggingIn = isLoggingIn
    else
      @_isLoggingIn ? no


  setFailTimer: do->
    notification = null
