             console.log 'Server started in local mode'
 
     configureUser = (callback) ->
-        user = {}
+        user = null
 
         Async.waterfall [
             (next) ->

                                (next) ->
                                    configureUser(next)
                                (defaultUser, next) ->
                                    serverConfig.defaultUser = defaultUser
                                    writeConfigToFile()
                                    next(null)
                            ], callback

Path    = require('path')
Read    = require('read')
Async   = require('async')
User    = require('./user')
MongoInterface = require('./mongo_interface')
{hashPassword} = require('../api/utils')

