logging in download fn
Merge branch 'refactor' of github.com:mansam/textyserver into refactor