update isAuthorized in AuthorizationManager