changed web.js to redirect to Main