fix the signout issue