reffered to http://dotinstall.com/lessons/basic_expressjs/26511