How to hide Login and Register button after login by user?
<p>I'm working on a school project. I'm able to login user successfully who registered. But when he/she loged-in how can I hide <code>Login</code> and <code>Register</code> page link. I'm using <code>css</code> and <code>&lt;ul&gt;</code> for them. And after <code>sign-out</code> how can I show them again.<br>
Here is the coding of my links on <code>MasterPage</code>  </p>

<pre><code>&lt;td id="tabs2" style="width:190px"&gt;
                &lt;ul id="logreg"&gt;
                            &lt;li&gt;&lt;a href="Login.aspx" &gt;&lt;span&gt;LogIn&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
                            &lt;li&gt;&lt;a href="Registration.aspx"&gt;&lt;span&gt;Register&lt;/span&gt;&lt;/a&gt;
                            &lt;/li&gt;
                            &lt;/ul&gt;
                &lt;/td&gt;
</code></pre>

<p><img src="http://i.stack.imgur.com/GQxyN.jpg" alt="enter image description here"></p>

<p>And how can I use lable like a button to <code>SignOut</code>.</p>
