Get pin code and store