Cookie Controlled Admin

Once you login using the form below, there should be a cookie which helps control which page you see. i.e. you should not be able to visit the adminview.html page until logged in. And (once logged in) you should not be able to come back to this page until you logout.

Try it and see - and use dev tools to mess with the cookie or try and inject a cookie with your automated execution

PS: Admin / AdminPass