Improve login_record pdf