Expose Login_window
...

If Login_window.UserName.Value = '' |
   Login_window.Password.Value = '' then
 ...
;  
