Fixed signout crash bug