* Fix file upload for csrf protection * Fix use profile upload for csrf protection * Fix tests * Fix files.test.ts