create new redis record and logic moved to the service and documented