Continued working on the new pages for editing,
Successful connection to db