Completion and partial integration of Token and Session classes for CSRF Protection with forms.