Added login.check() and changed some coding style.
Merge branch 'master' of git:itsapi-2.0