Handled for case when user messages friend for first time. Need to create an array in this situation since that messages array doesn't exist yet