         @$('.flex-wrapper').addClass 'expanded'
       @requestForm.button.hideLoader()
 
+  headBannerShowRecovery:(recoveryToken)->
+
+    @$('.login-footer').hide()
+    @$('.footer-links').hide()
+    @headBannerMsg = "Hi, it seems you have a recovery token for your account. <span>Just click here when you ready!</span>"
+    @headBanner.updatePartial @headBannerMsg
+    @headBanner.unsetClass 'hidden'
+    @headBanner.setClass 'show'
+    $('body').addClass 'recovery'
+    @headBanner.click = =>
+      @getSingleton('router').clear '/Recover/Password'
+      @headBanner.updatePartial "You can now create a new password for your account"
+      @resetForm.addCustomData {recoveryToken}
+      @animateToForm "reset"
+
   slideUp:(callback)->
     {winWidth,winHeight} = @windowController
     @$().css marginTop : -winHeight

      cssClass : "login-form"
      callback : (formData)=> @doRequest formData

    @video = new KDView
      cssClass : "video-wrapper"


    KD.remote.api.JPasswordRecovery.resetPassword recoveryToken, password, (err, username)=>
      @resetForm.button.hideLoader()
      @resetForm.reset()
      @headBanner.hide()
      @doLogin {username, password, clientId}

  doRecover:(formData)->
