smartcard frontend