if (!$uid) { ?>
Log in
Username:
Password:
Remember me
} else { ?>
X
Log out
} ?>