Add indices for user provider and uids