Add alert dialog to main screen

On the login screen, if the username or password input is null, a alert
dialog will pop up.