fixing null pointer in signout
fixing null pointer in signout