<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<UserProfile>" %>
<% if (!Request.IsAuthenticated) %>
<% { %>
    <p>
        <a id="loginLink" href="<%=Html.AttributeEncode(WindowsLiveId.WindowsLiveHelper.RetrieveMobileLoginUrl(Request.Url.PathAndQuery))%>" title="Sign In using Windows LiveID"><img alt="Sign In using Windows LiveID" src="<%=Url.Content("~/Content/M/WM/Img/signin.gif")%>" width="66" height="19"/></a>
    </p>
<% } else { %>
    <p>
        <span>Hello <%:Model.FullName%>!</span>
        <a id="logoutLink" href="<%=Url.Action("LiveId", "Account") %>?action=logout">Sign Out</a>
    </p>
<% } %>