adding redis caching