added authentication process