more work on creating tokens in redis