[MOD] class name change MainActivity -> LoginActivity
[BUG] outside of the LoginDialog click doesn't close the dialog