created CorePages controller