Still working on login/initial sync logic