added user/model association &  validation tests