add page routing; not pretty but working