will now alert if an empty username or password field is passed