Merge pull request #11 from Luzisto/master

fix handling realmname
Merge pull request #1 from gOOvER/master

Merge pull request #11 from Luzisto/master