diff --git a/lib/chiya_web/components/layouts/root_app.html.heex b/lib/chiya_web/components/layouts/root_app.html.heex
index 817a0a3..d775dd8 100644
--- a/lib/chiya_web/components/layouts/root_app.html.heex
+++ b/lib/chiya_web/components/layouts/root_app.html.heex
@@ -12,55 +12,7 @@
-
- <%= if @current_user do %>
- -
- <%= @current_user.email %>
-
- -
- <.link
- href={~p"/user"}
- class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
- >
- Profile
-
-
- -
- <.link
- href={~p"/admin"}
- class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
- >
- Admin
-
-
- -
- <.link
- href={~p"/user/log_out"}
- method="delete"
- class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
- >
- Log out
-
-
- <% else %>
- -
- <.link
- href={~p"/user/register"}
- class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
- >
- Register
-
-
- -
- <.link
- href={~p"/user/log_in"}
- class="text-xs leading-6 text-gray-100 font-semibold hover:text-gray-300"
- >
- Log in
-
-
- <% end %>
-
+ <.admin_bar current_user={@current_user} />
<%= @inner_content %>