fix issue #29
Merge pull request #30 from Softinnov/check-login

Check existing login