always close the login window on success