Updated the PagesController
Created a index view for pages