As you may have speculated, Rey has trained as a Jedi. Because she knew how to use the force. Unlike here, you cannot just go on youtube and search up how to use the force. You must be trained. She even knew how to use a Jedi-Mind trick, which leads me to my next point. Rey went to the Jedi school, which was taught by Luke Skywalker. I know this because, in Rey's Vision, Kylo Ren was standing in the rain. She was presumably at the Jedi temple, and the Knights of Ren have seduced "Ben" to the dark side. You see bodies laying around, and my theory is that, those are all the other students. And then you see Rey, hiding behind a little mounted hill crying. They then switch to her being dropped off on Jakku. Showing that after the incident she was taken, so that she couldn't be seduced by the dark side. Though Han acts like he has never met her, automatically Han knows everything about her... When Rey decides to go after Finn, Maz says "tell me about the girl." Next thing you know when she goes down into the room with lightsaber, she tells Rey, Han told me all about you. And she says, you know the people you are waiting for aren't going to come. Proving Han knew everything about Rey. Next was after the destruction of Starkiller base, Leia, doesn't even go up to Chewbacca, or Poe. Instead she goes right up to Rey, and hugs her.