changes for pin auth integration