Added an authentication system