Added authentication for pin edit, create, destroy.