resolved roots and added static pages controller