added server side code using node and express