fixed encoding algotithm + upload and download under authentication
Merge branch 'master' of https://github.com/corso-python-prato/share-system-team1