Imams are not a separate entity from Allah that has independent powers rival to that of Allah. They are servants of Allah with a high position that Allah has placed them in due to their purity, sincerity and refined acts of worship that makes them very much favoured by Allah and it’s due to this kind of position that they hold one interceded by them to Allah so that Allah can answer our prayers and not them in person.