If one can perform the prayer at a time the urine is not discharged, even by shortening the prayers by omitting the non-obligatory acts and the second chapter after al-Fatiha, then he should do that. If this is not possible, then it is permissible to offer the prayer even with the discharge of the urine, but one should wear something that limits the spread of urine to the particular region of the body and prevents its spread to the rest of the body and clothes. However, one should perform wudhu for each recommended prayer.
The Prophethood and divine revelations of legislations ended at the death of the Prophet (peace be upon him and his progeny), but some narrations indicate that angels communicate with the Imams (peace be upon them) and inform them what is taking place and what will take place. The Quran also speaks of the continuation of the descending of the angels during the Night of Qadr every year, which indicates that there is someone that receives certain information that night, which is clearly the Twelfth Imam (peace be upon him) in our time. This is further evidence from the Quran of his existence.
The minimum distance between two mosques where Friday prayers are offered is one farsakh which is about six kilometers, and it is measured by the routes available between the two mosques if they are usual. If the route between them is longer than mentioned distance in an unusual way - for instance, if a natural barrier like a river is between the two mosques and an unusual detour is required to reach the other mosque - then this is not a sufficient distance.