Update authorization.js