add root route and pages controller