How to use smartcard workflows