added redis connection