add pages and provider