             password: simpleWord()
             status: 1
         }
-        console.log user
+
+        new user_model(user).save (e, u) ->
+            if e isnt null
+                app.get('logger').warn 'An user doesnot saved!', e
+            else
+                app.get('logger').info 'User saved!'
+            return
+
         n--
 
     return

    console.log 'Start create articles'
    return

if args.length < 2
    console.log 'Fictitions should take 2 parameters'
else
    switch args[1]
        when 'users' then createUsers()
        when 'pages' then createPages()
        when 'articles' then createArticles()

#console.log simpleWord()

###b = new bootstrap

s = new server

s.bootstrap(b).run (app, server) ->
    console.log 'Connected to : ' + app.get 'port'###


generateEmail = ->
    simpleWord() + '@' + simpleWord() + '.' + simpleWord(2)

createUsers = (app) ->
    user_model = app.get('get_model') 'user'

    if typeof args[2] is 'undefined'
        n = 10
    else
        n = args[2]

    console.log 'Start to create ' + n + ' users'

    n = n - 1

    while n > -1
        user = {
