I believe you can simply hit the login button (sans code) after validating the login attempt instead of closing the application.
I believe you can simply hit the login button (sans code) after validating the login attempt instead of closing the application.