[is login]
Hi
You are logged in.

[else]
You must first REGISTER to ask questions.
[/is]

[is login] Log Out
[else]Log in
[/is]