added logout functionality to all pages by using the template header