Shyam - adding controller for generation of pin
Anastasia/Shyam - adding unique generation of pins functionality