setting tokenRequest object id as state variable