Added security nonce and slight form formatting changes.