Final fixes for the static pages controller and views