chapter8
finish user eidt, update, index, and destroy actions