added automatic server redirect for logged in users accessing index
page, added logout button and account email in html pages header