             data.push [Number(users.c_date), users.nb_user_tmp]
         return data
 
+    # Get all the values for the graphs and render the stats page if no errors occurs.
     statsPage : (req, res) =>
         Request.get "#{Config.Restapi.Url}/room", (e, r, body) =>
             if e? or r.statusCode > 200

            else
                callback req, res

    countTmpUser : (req, res, callback) =>
        date = Moment().format "YYYY-MM-DD"
        timestamp = String(do (new Date(date)).getTime)

            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 = []
