adding functions tailored to sails to importController