change the new way of handling local account profile.