if pinCode is null assign random 64 character code