"index.ejs is rendered and bodyParser, sesson etc added to express app"
code moved from server to urlMapping