<section class="admin_page">
<h1>Admin</h1>
<h2>Articles</h2>
<%= render "shared/tables/articles_table" %>

<h2>Products</h2>
<%= render "shared/tables/products_table" %>

<h2>Photos</h2>
<%= render "shared/tables/photos_table" %>

<% if @is_root %>
  <h2>Users</h2>
  <%= render "shared/tables/users_table" %>
<% else %>
  <h2>User</h2>
  <%= render "shared/buttons/edit_delete", link: @logged_in_as %>
<% end %>

<p><%= link_to "Log out", :session, method: :delete, data: { confirm: "Really log out?" } %></p>
</section>

<section class="admin_page">
<h1>Admin</h1>
<h2>Articles</h2>
<%= render "shared/tables/articles_table" %>

<h2>Products</h2>
<%= render "shared/tables/products_table" %>

<h2>Photos</h2>
<%= render "shared/tables/photos_table" %>

<% if @is_root %>
  <h2>Users</h2>
  <%= render "shared/tables/users_table" %>
<% else %>
  <h2>User</h2>
  <%= render "shared/buttons/edit_delete", link: @logged_in_as %>
<% end %>
</section>

Remove logout button in Admin page
Remove logout button in Admin page

This button is removed because there is already a logout link in the navbar.
