Get the first pages working with new database -- IN PROGRESS