first step: create a primitive random id and save it via cookie