adding messages model