Proposed changes to CSRF Tokens, 

This should provide you with all the tools now to setup the token system. I'm not good with js but i determined you were generating the views from userfrosting.js. i will let you figure out how best to handle adding the tokens to the forms, but validating them will be straight forward. simply `require_once` of `models/post.php` in a validation script, but make sure that `$errors = array();` has been called prior to including it, or the error messages will be overwritten with the blank  array. 

r3