add pages to application