Added nonce element and login form example