added default header for each page and changed template