First off, unless you were actually out of body in the astral, I don't think they're real people. It's possible, but shared dreams are very rare, and the way u describe them, it seems like they were purposely following you in your dream. I did not experience what you have, so I can only make my opinion from a reader's point of view. I think that they were pieces of your imagination, however, also of your unconscious mind. This holds tons and tons of information, so it could very well be yourself trying to communicate with you. You can probably analyze the dream and find important meaning in it.
Hope this helped
Hope this helped