Adding CSRF support for list actions