Adding check for nonce query arg