var express = require("express");
var app     = express();
app.use(express.static(__dirname + '/views'));
//Store all HTML files in view folder.
app.use(express.static(__dirname + '/scripts'));
//Store all JS and CSS in Scripts folder.

app.get('/',function(req,res){
  res.sendFile('index.html');
  //It will find and locate index.html from View or Scripts
});

app.get('/login',function(req,res){
  res.sendFile('/login.html');
});

// app.get('/sitemap',function(req,res){
//   res.sendFile('/sitemap.html');
// });

app.listen(3000);

console.log("Running at Port 3000");
var express = require("express");
var app     = express();
app.use(express.static(__dirname + '/views'));
//Store all HTML files in view folder.
app.use(express.static(__dirname + '/scripts'));
//Store all JS and CSS in Scripts folder.

app.get('/',function(req,res){
  res.sendFile('index.html');
  //It will find and locate index.html from View or Scripts
});

app.get('/login',function(req,res){
  // res.sendFile('/login.html');
  res.send('im the login page!');
});

app.listen(3000);

console.log("Running at Port 3000");
Update login route to app file