       @.$('.input-group').tooltip('hide')
       window.setTimeout =>
         @logoutUser() if @logoutOnHide
+        @callback(@callbackArgs) if @callback && @callbackOnHide
         $(@el).remove()
       , 500
       

        userData = response.result.user
        session.get('user').set(userData)
        session.reInitializeClouds()
        @hide(logout: false)
      error: (response) =>
        resp = $.parseJSON(response.responseText)
          

      success: (response) =>
        userData = response.user
        session.get('user').set(userData)
        @hide(logout: false, callback: true)
      error: (response) =>
        resp = $.parseJSON(response.responseText)
          
