added pages controller
completion