     false
 
 
-WD.ensureUsername = (callback) ->
+WD.ensureUsername = (callback, isRepeat = false) ->
   if localStorage.getItem('username')
     fb.child(localStorage.getItem('username')).once 'value', (snapshot) ->
       unless snapshot.val()

      </form>
    </div>
  ".trim()).appendTo($('body'))
  $form = $el.find('form')
  $form.on 'submit', (e) ->
    value = $el.find('input').val()

window.WD = window.WD or {}

_showUsernamePrompt = (callback, isRepeat = false) ->
  $el = $("
    <div class='username-prompt-container'>
      <form class='username-prompt'>
