Modified to fit new way of using Zync class, where you set up an object right away and log in later.