redis connection method revised for heroku deployment
redis connection method revised for heroku deployment