check for userId in connectionRepository