Upload endpoint changes

- now adds file to backup on upload
- data decryption paths and logic fixed