added authentication capability