Account class with connect and login methods