Update #user_is_guest to ensure guest_id has a non-empty value