<ul class="nav nav-tabs nav-justified">
  <li role="presentation"><%= link_to "Triumph", url_for(:controller => 'realms', :action => 'index') %></li>
  <li role="presentation"><a href="#">Dashboard</a></li>
  <li role="presentation"><a href="#">Achievements</a></li>
  <% if logged_in? %>
    <li class="dropdown">
      <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <%= current_user.name %>
      </a>
      <ul class="dropdown-menu">
        <li><%= link_to "Profile", current_user %></li>
        <li><%= link_to "Sign out", logout_path, method: "delete" %>
      </ul>
    </li>
  <% else %>
    <li role="presentation"><%= link_to "Sign in", login_path %></li>
  <% end %>
</ul>

<ul class="nav nav-tabs nav-justified">
  <li role="presentation"><%= link_to "Triumph", url_for(:controller => 'realms', :action => 'index') %></li>
  <li role="presentation"><a href="#">Dashboard</a></li>
  <li role="presentation"><a href="#">Achievements</a></li>
  <% if logged_in? %>
    <li class="dropdown">
      <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <%= current_user.name %>
      </a>
      <ul class="dropdown-menu">
        <li><%= link_to "Profile", current_user %></li>
        <li><%= link_to "Change Password", users_passwd_path %>
        <li><%= link_to "Sign out", logout_path, method: "delete" %>
      </ul>
    </li>
  <% else %>
    <li role="presentation"><%= link_to "Sign in", login_path %></li>
  <% end %>
</ul>

Change Password link in nav header
Change Password link in nav header
