Check if jsonObject is null on logout response