fixing bug in signout signal