confirm login before syncing