Implement CSRF Form function and active checking