Updated CSRF filter - fixes security vulnerability