Login Choice
Employee Login
Employee Dashboard
Update Catalog
Update Customer
Main page
Customer Register
Customer Login
Cart
Payment
Help
Search
if customer tries to update customer info a message will be printed telling access denied since its only for employees after that customer will be redirected to employee login
this block of code implements the role based access it checkes if user has role employee then allow acess otherwise redirect to employee login
Has to login as a valid employee to access update catalog and update customer.
If an employee wants to place an order, they must first log in as a customer. Since only customers can place order.
here employee will go to home then login as customer to place orders