framework for all pages