Chat based on the sailsjs framework