When a user logs off, we will clear out this variable. The user's firstname. The user's lastname. The user's email address. Let's talk a bit about the privilege levels.
Normal customers can use the system, browse through the catalog, and do other customer functions.
Administrators can do everything a normal user can do, but also has the ability to perform system administrative functions. In real life, there are probably many more privilege levels that you want defined but we are going to keep things simple here. We need to have a way to store all the users on the system, and the perfect place for that would be in the database. We're going to create a users table to hold all our users. Creating the Users Table Start up database server and login to database.