Pages module: connexts to DB, shows the menu and updates the page viewed.