add index to user