adding header and footer elements to application template