Fix an bug and add the ligin check
Merge pull request #15 from SSD-ESIEA/Login

Fix an bug and add the ligin check