Added authorization for Edit and Update