fix window disappearing after transfer money or changing password. Also
when user click logout, the updated account information is output to
AccountInformation.txt