Sage of the six paths

Sage of the six paths was the first one that used ninjutsu,becouse he created it. he possessed the rinnegan, an eye technique, probably a kekkei genkai.Sharingan and byakugan are based on rinnegan. the other person who has the rinnegan is Pain. It was never reveald if Pain and Sage of the six paths were realated.