refactoring
handling bad credentials
fix crash + handling bad credentials
proper comments
Merge pull request #13 from alpha14/patch1

Fix crashing konnectors + handling bad credentials