added authentication example