Added pages index and show page