modify routes && add id in pages