How can I make a code generator, changing so that everyone has a single code?