finished user edit, update index, and destroy