refining user registration using redis