added the pageController
Added the routes
Merge pull request #3 from DEV1Ecole/rest-get

added the pageController