move route logic to design page