chapter 9: finish user edit, update, index, and destroy actions