Changed to only call $user if FPDF library exists.