modified links in default.ctp to dynamic