#390 [Rishi] Added functionality to retrieve alerts for pending connection requests.