using redis instead of mongo