this is was before using generate-sails-auth