end of chapter9, Finish user edit, update, index, and destroy actions