added model associations and validations