updated login logic
Merge pull request #8 from SuperDomX/nightly

updated login logic