added authentication controller lines