finished create page functionalit.
Finished form validation and submission for page creations.