added logout button, changed notice email template