     .done (data) =>
       @user = data
 
-    .fail (xhr) =>
-      @user = null
+    .fail (xhr) ->
       if xhr.status == 401
         osu.popup osu.trans('errors.logged_out'), 'danger'
 

    @updateSliderPreset(elem, @cost) for elem in @sliderPresets


  updateSliderPreset: (elem, cost) ->
    $(elem).toggleClass('js-slider-preset--active', cost.duration() >= +elem.dataset.months)


  updateTargetId: =>
    @targetIdElement.value = @user?.id

    @initializeUsernameInput()
    @updateCostDisplay()

    # force initial values for consistency.
    @updateSearchResult()


  initializeSlider: =>
