changed main.js routes