added attr_accessible for message relation