Added CSRF token and the formset management forms