added redis code for heroku