Update authorization.R