Hi,
Create a usertable with name / password.
When the page is calle, you check in the databast wether the user-login time is less then a certain amount of time ago. If so: Load the edit page, based on username.
If the logintime is too long ago, you show a login screen, user submits details. You check details in the database. If the details are ok, you reset the login time to now() and load the page the user requestd.
J.