uses redis to store allowed countries