Lab2: DevOps for Login Module1.

1. Create “Users” table correctly in your personal database on cis-linux2.
2. Create five views using the login form from Bootstrap sample. Make sure you have the “man-machine state transparency” box on each form and with correct PHP codes to fetch server data.
3. Create correct redirections with proper “return” buttons for the entire state transition diagram views. There should be no broken links.
4. Create your personal utility email service and obtain AppPassword.
5. Create the correct register.php to add new user to the Users table and send email successfully.
6. Create the correct authenticate.php program to authenticate user’s custom Acode. Remember to change RegState when successful. And redirect the page to set password.
7. Add password complexity check when user enters password (optional)
8. Create set Password.php to update user’s password after successful authentication.
9. Create your team project’s landing page using Bootstrap Studio and export it to Linux2. Change it to protected.php with the protection PHP header.
10. Create login.php to login to your protected.php.
11. Create logout button in your protect.php and logout.php to recover the protected state.
12. Refactor your programs to implement resetPassword.php without rewriting new PHP programs for user authentication and password reset.