Updated authentication system