__init__ contains a method to login rather than directly using the Account class.