Using the key generated from PIN in the UI