added pages controller and pages index for front page