Changed details to include a nonce instead of just a token