I have a
I think your PHP should look something like that: Use either brackets in both if and else or use none. By the way you don't need an elseif if you're only checking a boolean. (there are only 2 possibilities)
' . username. 'Logout';
}
else {
echo 'Login/Register';
}
?>