my code for tutorial http://scotch.io/tutorials/javascript/build-a-restful-api-using-node-and-express-4