<% if spree_current_user %>
  <ul id="login-nav" class="inline-menu">
    <li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li>
    <li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li>
    <li data-hook="user-logout-link" class='fa fa-sign-out'><%= link_to Spree.t(:logout), spree.logout_path %></li>

    <% if spree.respond_to? :root_path %>
      <li data-hook="store-frontend-link" class='fa fa-external-link'>
         <%= link_to Spree.t(:back_to_store), spree.root_path, :target => '_blank' %>
      </li>
    <% end %>
  </ul>
<% end %>

<% if spree_current_user %>
  <ul id="login-nav" class="inline-menu">
    <li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li>
    <li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li>
    <li data-hook="user-logout-link" class='fa fa-sign-out'><%= link_to Spree.t(:logout), spree.admin_logout_path %></li>

    <% if spree.respond_to? :root_path %>
      <li data-hook="store-frontend-link" class='fa fa-external-link'>
         <%= link_to Spree.t(:back_to_store), spree.root_path, :target => '_blank' %>
      </li>
    <% end %>
  </ul>
<% end %>

Change admin logout path to use the admin namespaced logout path
Change admin logout path to use the admin namespaced logout path
