the reference frame of the person is inside the ... train. The person is at rest in her own frame which is the same frame as the train. so she's at rest on the train.
the person is moving at the same speed as the train
True, but not moving within the train