implemented dynamic url routing