Also check if the user is logged everytime a sync is done.