added authentication test