   redis = redis.createClient()
 
 # Set up
-redis.flushdb()
+# redis.flushdb()
 redis.setnx "users:index", "-1"
 
 # ---------------

# ---------------

File =
  # Write user object to file
  write: (user) ->
    deferred = Q.defer()

    deferred = Q.defer()
    user = @records[id]
    if not user
      File.read(id)
        .then (data) =>
          user = @records[id] = new @(data)
          deferred.resolve user._clone()
        .fail (err) ->
          deferred.reject(err)
    else
      deferred.resolve user._clone()
    return deferred.promise
