 window.WD = window.WD or {}
 
-_showUsernamePrompt = (callback) ->
+_showUsernamePrompt = (callback, isRepeat = false) ->
   $el = $("
     <div class='username-prompt-container'>
       <form class='username-prompt'>

            color: color
          localStorage.setItem('username', username)
          callback(username)

      </form>
    </div>
  ".trim()).appendTo($('body'))
  if isRepeat
    $("<div>(The one you tried was taken)</div>").insertAfter($el.find('input'))
  $form = $el.find('form')
  $form.on 'submit', (e) ->
    value = $el.find('input').val()
