modified new and index of user