edits to the controller file - page.create