addes pages controller