added promises to sailsResource