Pretty URL / CMS display

The pretty url's can now query the correct page and content in the
database