title: Update _Layout for different type of users
body: <p>I'm using the MVC template on Asp.net MVC 4, and I have a <code>UserProfile</code>(t class with the <code>UserType</code>(this field receive only 2 values, "Ouvinte" and "Musico") field, that works like roles in application, right?</p>
  
  <p>My idea is, make a verification on _Layout.cshtml to know what is the UserType that are logged on application and modify the navbar on top.</p>
  
  <p>THIS IS MY NAVBAR ON _Layout</p>
  
  <pre><code>&lt;div class="navbar navbar-inverse navbar-fixed-top"&gt;
        &lt;div class="container"&gt;
          &lt;div class="navbar-header"&gt;
            &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;/button&gt;
             &lt;a class="navbar-brand" href="#"&gt;@Html.ActionLink("your logo here", "Index", "Home")&lt;/a&gt;
          &lt;/div&gt;
          &lt;div class="collapse navbar-collapse"&gt;
            &lt;ul class="nav navbar-nav"&gt;
              &lt;li&gt;@Html.ActionLink("Home", "Index", "Home")&lt;/li&gt;
              &lt;li&gt;@Html.ActionLink("Usuario", "Usuario", "Home")&lt;/li&gt;
              &lt;li&gt;@Html.ActionLink("Musico", "Musico", "Home")&lt;/li&gt;
            &lt;/ul&gt;
            &lt;ul class="nav navbar-nav navbar-right"&gt;   
  
                @if (!Request.IsAuthenticated){ //IF USER IS NOT LOGGED.
  
                              &lt;li&gt;@Html.ActionLink("Register", "Register", "Account")&lt;/li&gt;
                              &lt;li&gt;@Html.ActionLink("Log In", "Login", "Account")&lt;/li&gt;
                          }
                          else //DO A ELSEIF HERE IF THE USER HAS THE USERTYPE Musico
                          {
                              &lt;li&gt;@Html.ActionLink("Manage Account", "Manage", "Account")&lt;/li&gt;
                              &lt;li&gt;@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;/li&gt;
                          } //ANOTHER ELSE HERE TO VERIFY IF THE USER HAS USERTYPE Ouvinte
            &lt;/ul&gt;
          &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
        &lt;/div&gt;
  
      &lt;/div&gt;
  </code></pre>
  
  <p>My doubt is, <strong>how can i call the userProfile here to do these validation?</strong></p>