message model linked to the category model