Refactoring of audience specific masthead and footer