created a model for pages + worked on the template