added authentication trigger