Added login call to getTransactions.
Added a check upon login to determine if it was successful.
Added a getBalance call to getTransactions to try and determine if a logout/login is required - NEEDS TESTING!