added redis configuration for production and heroku