added a return to the createRedisClient method