Adjusted schema again, added associations
Pages now can be accessed.
pages can now be added