title: MVC4 LoginPartial (additional information)
body: <p>I am using MVC4 and SimpleMembership. Everything works ok, but I have a question about the _LoginPartial view.</p>
  
  <p>This is the code of the partial view:</p>
  
  <pre><code>@if (Request.IsAuthenticated) {
      &lt;text&gt;
          Hello, @Html.ActionLink(User.Identity.Name, "Manage", "Account", routeValues: null, htmlAttributes: new { @class = "username", title = "Manage" })!
          @using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm" })) {
              @Html.AntiForgeryToken()
              &lt;a href="javascript:document.getElementById('logoutForm').submit()"&gt;Log off&lt;/a&gt;
          }
      &lt;/text&gt;
  } else {
      &lt;ul&gt;
          &lt;li&gt;@Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })&lt;/li&gt;
          &lt;li&gt;@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })&lt;/li&gt;
      &lt;/ul&gt;
  }
  </code></pre>
  
  <p>How can I display a profile picture next to "Hello, user"? I have a User model which contains the filepath of the picture. This is also saved in the database.</p>
  
  <p>Problem is I do not how to display it in a correct way. </p>
  
  <p>Thank you in advance!</p>