adding persistence using redis