added authentication for the User