added error checking for user-user connections