add pages controller and configure routes to root to pages index