Adde the pages controller correctly