adding redis import to the main of app