Implements iChain authentication