Fix signout bug