fix issue in errorhandling #42
implement login and document all new stuff #42 fix