You can use javascript's location.replace method so that the URLs are not maintained in history.