<div id="top-nav">
	<div id="uam-menu">
    	<?php if($user->signed){ ?>
		<span><a href="libs/uam/ps/logout.php">Logout(<?php echo $user->username;?>)</a>
            | <a href="?page=account"> My Account </a></span>
		<?php } else { ?>
    		<span><a href="?page=home">Home </a> |<a href="?page=login"> Login </a> | <a href="?page=register"> Register </a></span>
        <?php } ?>    

	</div><!-- End uam -->
</div><!-- End top-nav -->