Added protection against Cross Site Request Forgery (CSRF).