set up pages controller