added messages model