upload is now injected (still some problems)

we only have to modify the controller code to be able to upload the file