add console log in main.js file