             tmp.push [Number(timestamp), nb]
         return tmp
 
+    # Get the number of temporary user created per Day.
+    # Return a array of array in the form [[2013-03-12,42], [2013-03-13,12]].
     getNumberOfTmpUsersPerDay: (req, res, body) =>
         body = JSON.parse body
         data = []

            data.push [Number(users.c_date), users.nb_user_tmp]
        return data

    statsPage : (req, res) =>
        Request.get "#{Config.Restapi.Url}/room", (e, r, body) =>
            if e? or r.statusCode > 200

    renderStats : (res, options) =>
        res.render 'stats', options

    # Create a new document into the collection "stat".
    # Set the nb_user_tmp to 1.
    insertNewDate : (req, res, body, callback, timestamp) =>
        Request.post {
            json    :
