adding redis into apps