adding routes to main.js