When I run node index.js the browser loads only the html, disregarding javascript, images, and css , and if I try to access a link it shows a blank plage: node.js Cannot GET
Here you have some code to tell your server what to when when the browser requests /.
/
app.get('/'
You haven't written anything to tell it what to do when the browser requests /login.html. Write something for that case.
/login.html