Merge pull request #28 from kberov/feature/adduser

Feature/adduser
cleanup database
toward 0.38
cleanup
fixes for 0.39