Added a user authentication system