     )
 
   render: ->
-
+    console.log('RENDER 1')
     # check authentication, redirect to login if master user already exists
     if !@master_user && !@authenticate()
       @navigate '#login'

    new App.ControllerForm(
      el:        @el.find('#form-master')
      model:     App.User
      required:  'signup'
      autofocus: true
    )
    new App.ControllerForm(
      el:        @el.find('#form-agent')
      model:     App.User
      required:  'invite_agent'
      autofocus: true
    )



    # save user
    user.save(
      done: =>
        if @master_user
          @master_user = false
          App.Auth.login(
