Adds nonce check for actions