when the user logs in, their ID is stored in a session variable.
to create a profile page, you create a recordset that is filtered on that session variable.
look at the userupdate.php page created by Security Assist, the recordset on that page is exactly the recordset you need to create for the profile page.