add index to username