ofcourse, that's why he trained them
rightJiraiya was told he would train a ninja who would change the fate of the world. So once he met Nagato with his Rin'negan. He had special inerest in him because Jiraiya thought he was supposed to be the pupil.