Offline and validate pin