the user registration solution uses the email address as the user name.
When the log in the email address is stored in a session variable.
It can be displayed on the protected pages using the following code:
<?php
if (!session_id()) session-start();
echo $_SESSION['UserEmail'];
?>