*Shrugs* It looks like it was John who wrote it.
Ultimately not important which of them did write it though
19
[SUP]25 [/SUP]Now there stood by the cross of Jesus His mother, and His mother’s sister, Mary the wife of Clopas, and Mary Magdalene. [SUP]26 [/SUP]When Jesus therefore saw His mother, and the disciple whom He loved standing by, He said to His mother, “Woman, behold your son!” [SUP]27 [/SUP]Then He said to the disciple, “Behold your mother!” And from that hour that disciple took her to his own home.
....
21
[SUP]20 [/SUP]Then Peter, turning around, saw the disciple whom Jesus loved following, who also had leaned on His breast at the supper, and said, “Lord, who is the one who betrays You?” [SUP]21 [/SUP]Peter, seeing him, said to Jesus, “But Lord, what about this man?”
[SUP]22 [/SUP]Jesus said to him, “If I will that he remain till I come, what is that to you? You follow Me.”
[SUP]23 [/SUP]Then this saying went out among the brethren that this disciple would not die. Yet Jesus did not say to him that he would not die, but, “If I will that he remain till I come, what is that to you?”
[SUP]24 [/SUP]This is the disciple who testifies of these things, and wrote these things; and we know that his testimony is true.
[SUP]25 [/SUP]And there are also many other things that Jesus did, which if they were written one by one, I suppose that even the world itself could not contain the books that would be written. Amen