Fixed sign out success and error.