How do I display a Welcome message for a logged in member

When a user logs in via the Membership Login widget they are redirected to a specific page. On that page I would like to have text which says Welcome XXXXXXX it adds a personal touch.. I tried adding a text widget and putting Welcome %username% inside it but it didn't work.
Any help appreciated
Thanks
Gary