moved buildPage() call to showHeader()
added session cleanup to session class