Created a basic authentication system.