add pages routes and controller