Start with login1.php — and actually read its code, don't just load it.
login1.php — Requiring a login
2.login2.php — Reading who logged in
3.login3.php — Logging out
4.exampleLandingPage.php — Sending users to different pages by rolespecialFunctions.php — The helper functions available to you
6.redirecting.php — Redirecting into the login system