Added authentication for edit, update, destroy