Added route for main index in main.js