<% if user_signed_in? %>
  <li><%= link_to 'Applications', grants_path %></li>
  <% if current_user.admin? %>
    <li><%= link_to 'Users', users_path %></li>
    <li><%= link_to 'Agencies', agencies_path %></li>
  <% end %>
  <li class="dropdown">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><%= current_user.full_name %> <span class="caret"></span></a>
    <ul class="dropdown-menu">
      <li><%= link_to 'My Profile', edit_user_registration_path %></li>
      <li><%= link_to 'Sign Out', destroy_user_session_path, :method=>'delete' %></li>
    </ul>
  </li>
<% else %>
  <li><%= link_to 'Sign In', new_user_session_path %></li>
  <li><%= link_to 'Register', new_user_registration_path %></li>
<% end %>

<% if user_signed_in? %>
  <li><%= link_to 'Applications', grants_path %></li>
  <% if current_user.admin? %>
    <li><%= link_to 'Users', users_path %></li>
    <li><%= link_to 'Agencies', agencies_path %></li>
  <% end %>
  <li class="dropdown">
    <a href="#" class="dropdown-toggle text-nowrap" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
      <span class="glyphicon glyphicon-user hidden-xs"></span>
      <span class="hidden-sm"><%= current_user.full_name %></span>
      <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
      <li><%= link_to 'My Profile', edit_user_registration_path %></li>
      <li><%= link_to 'Sign Out', destroy_user_session_path, :method=>'delete' %></li>
    </ul>
  </li>
<% else %>
  <li><%= link_to 'Sign In', new_user_session_path %></li>
  <li><%= link_to 'Register', new_user_registration_path %></li>
<% end %>

Add icon to profile link.
Add icon to profile link.
