Session variables for main page.  Moved application.HTML to .PHP