Hi there!
Well, it is better, I think that the user is asked again his / her password as the Yahoo system does. Thus you'll protect the personal information from being viewed by unouthorised persons.
Bus since you've made it like that here's my Idea:
You just destroy the session before showing the form. Thus the user will be sent to ligin when click on "back". When he clicks on the yes button, however the name from the last session (that was just demolished) is passed by GET method and a new session is created for the user with the name added, serving him another PERIOD of time to be able to browse through the site.