modified template page top to include message and logout link and link to profile