added redis and secret key