add pages and resources