added authentication adapter