add controller pages and test for it