Building a restful api with node and express 4