Updated the pages page, you can now successfully add pages to the db. Also updated the cms.sql file to include changes to the db.