added messages relationship