added authentication codes