change site controller to pages controller