added router param in index.js