Implementing authentication chain mechanism