added connection to redis