created controller pages index