added create page routing and error posting