Adding validations for the Relationship model