This lesson covers using sessions as a way to authenticate users.
Create the login form from the lesson, along with the index and logout pages. Move the main body of authentication code from login.php inside a class.