Add users index and elasticsearch to user.