logout fix for .html pages.