Admin:: The ability to edit pages

1. Added the ability to edit pages.
2. Added the ability to create pages.
Page:: Fixed bug pages are displayed.

Page:: Fixed bug pages are displayed.
Page:: Added extra checks.