add index for user