set up framework for other pages