fix a bug and add a interface:signOut