setup CompletedAuthorization
cleanup