moved dynamic urls to controller module