   # Login Phase.
   #
   # Display Login window.  Also handles user creation logic.
+  #
+  # @return [null] null
   login_phase: ->
     @userverse.connect( @dictionary, 'oghma.thingy.user', =>
       create = Ext.create( 'Oghma.Ext.EditObject',
         object:
-          Name:      ''
-          Primary:   'FF0000'
-          Secondary: '00FF00'
+          name:      ''
+          primary:   'FF0000'
+          secondary: '00FF00'
         types:
-          Primary:   'color'
-          Secondary: 'color'
+          primary:   'color'
+          secondary: 'color'
         title: 'Create User'
-        onSave: (userinfo) ->
-          if userinfo.Name == ''
-            alert( 'Name cannot be blank.' )
-          else
+        onSave: ( userinfo ) =>
+          if @create_user( userinfo )
+            login.close()
             create.close()
-            login.close()
-            alert( "Creating user: #{userinfo.Name}" )
+            @login_user( userinfo.Name )
         onCancel: ->
           create.hide()
           login.show()

    )
    @tableverse.connect( @dictionary, 'oghma.thingy.table' )
    null

  # Send verbose message to the console.
  #

        onLogin: ( user ) ->
          login.close()
          create.close()
          @login_user( user )
        onCreate: ->
          login.hide()
          create.show()
