add some action hooks on header and footer