implemented simple route logic for CMS