REST based server app for message sending based on nodeJS and restify