changes to models/base.js-validations and definitions