fix first login issue
remove debug prints
Merge pull request #200 from rpandey1234/improveMain

Fix crash on first launch