Description: A user login prompt is set up on the left-NAV for user login convenience. When user is in the main user login page, the left-NAV login is hidden to avoid confusion.
File created:
1)login.php: This is the user login main page. After login, a user is forwarded to the categories to view all the products.
2)loginVal.php: It receives form data from login.php to verify auth of user. User's DB is checked to verify the user ID.
3)logout.php: It clears session data forwards user to login.php upon successful logout
4)includes/loginOnlyINC.php: It protect pages that need authorization and redirect out unauthorized user to other pages.
5)includes/loginINC.php: It shows logout link on any page if user is logged in.  Shows login FORM if NOT logged in!
6)includes/logoutINC.php: It shows logout link on any page if user is logged in.  Shows login link if NOT logged in!
Learnt: An alternative way for user to loggin to the session protected pages. The whole idea is similar to Admin login page in Assignment#5. "includes/loginOnlyINC.php" file plays an important role as a guidance of confidential web-pages.
Assignment #6 User Login Setup
