The program is now able to log in, retrieve the results, and log out