added authentication method