sign out when doing restore factory settings