<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>PHP-login</title>
</head>
<body>
<div>
<?php
// if you need users's information, just put them into the $_SESSION variable and output them here

echo $phplogin_lang['You are logged in as'] . $_SESSION['user_name'] ."<br />\n";
//echo $login->user_gravatar_image_url;
echo $phplogin_lang['Profile picture'] .'<br/>'. $login->user_gravatar_image_tag;

?>
</div>

<div>
	<a href="index.php?logout"><?php echo $phplogin_lang['Logout']; ?></a>
	<a href="edit.php"><?php echo $phplogin_lang['Edit user data']; ?></a>
</div>
</body>
</html>

<?php
// include html header and display php-login message/error
include('header.php');

// if you need users's information, just put them into the $_SESSION variable and output them here

echo $phplogin_lang['You are logged in as'] . $_SESSION['user_name'] ."<br />\n";
//echo $login->user_gravatar_image_url;
echo $phplogin_lang['Profile picture'] .'<br/>'. $login->user_gravatar_image_tag;

?>
<div>
	<a href="index.php?logout"><?php echo $phplogin_lang['Logout']; ?></a>
	<a href="edit.php"><?php echo $phplogin_lang['Edit user data']; ?></a>
</div>

<?php
// include html footer
include('footer.php');

Update logged-in.php: Basis CSS code inside views and adding header/footer files
Update logged-in.php: Basis CSS code inside views and adding header/footer files