I heard that Imam Mehdi meets with high rank Ayatollahs who are very high in piety and guides them and etc. Does this have any basis supported by Authentic Hadith or Quran?

No this is not established
It’s a possibility just like the Imam meeting any other person