modify user auth in index