Now catches duplicate user ids