My Implementation of OWasp's CSRF code