Asp.net Login status not saying logout after user logs in
<p>I have a asp.net web application, that allows users to login and logout. When a user logs in (no problem) its says Welcome Username, which is fine. But next to it still says login. Can anyone help me is there some property i need to set on Logged in? Thanks for any help.</p>

<pre><code>&lt;asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false"&gt;
                    &lt;AnonymousTemplate&gt;
                        [ &lt;a href="~/Account/Login.aspx" id="HeadLoginStatus" runat="server"&gt;Log In&lt;/a&gt;
                        ]
                    &lt;/AnonymousTemplate&gt;
                    &lt;LoggedInTemplate&gt;
                        &lt;span class="bold"&gt;Welcome&lt;/span&gt;&lt;span class="bold"&gt;
                            &lt;asp:LoginName ID="HeadLoginName" runat="server" /&gt;
                        &lt;/span&gt;! [
                        &lt;asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out"
                            LogoutPageUrl="~/" /&gt;
                        ]
                    &lt;/LoggedInTemplate&gt;
                &lt;/asp:LoginView&gt;

protected void LoginUser_Authenticate(object sender, AuthenticateEventArgs e)
    {
       SqlHelper userLogin = new SqlHelper();
        TextBox User = (TextBox) LoginUser.FindControl("UserName");
        TextBox Password = (TextBox) LoginUser.FindControl("Password");
        bool results = userLogin.UserLogin(User.Text, Password.Text);
        e.Authenticated = results;
    }
</code></pre>
