<?
/* Adds a login link and aborts current request if the user isn't logged in.  */
if (!isset($_SESSION["FirstName"])) {
	$my_returnto = $_SERVER['PHP_SELF'];
	?>
		<p>You are not authorized to view this page.</p>
		<p>You may <a href="index.php?return_to=<? echo $my_returnto ?>">log in</a> here.</p>
	<?
	//exit;
}
?>
