informing user about his quota usage with registration date via mikrotik

I am using Mikrotik as PPPoE Server , along with Freeradius as a Billing system. After expiry user gets ip from EXPIRED pool which redirects him to an EXPIRED page (hosted locally on radius). This part is working fine.

At some ISP I seen that the expired page also greets that particular user by first/last name , displays his Quota Usage / Expiry Date & other statistics related to his account.

How can I achieve such task?