Your current role: guest
You don't have admin privileges.
Check your cookies — is your role stored client-side?
Open DevTools → Application → Cookies. Look for a role cookie.
Change its value to admin and reload the page.
Or use curl: curl -b "role=admin" http://localhost/AdminBypass/lab2.php