     KD.remote.api.JPasswordRecovery.resetPassword recoveryToken, password, (err, username)=>
       @resetForm.button.hideLoader()
       @resetForm.reset()
-      @animateToForm 'login'
+      @headBanner.hide()
       @doLogin {username, password, clientId}
 
   doRecover:(formData)->

    @template.update()
    # @hide()


  pistachio:->
    """
    <div class="flex-wrapper">
      <div class="login-box-header">
        <a class="betatag">beta</a>

        @$('.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
