using redis hash instead of whole database