index.jsp checks if the user has loggged in or not.  It also checks which type of user is logged in and only displays those menu items that the user should see.