added authentication util