fixed the signout issue