fixed signout bug