based on https://github.com/mikedevita/sailsjs-v010-passport-local-mongo-email-activation