Added create page endpoint and method for creating page.