diff --git a/app/views/components/_header.html.erb b/app/views/components/_header.html.erb
index f73cf6f..7427a0f 100644
--- a/app/views/components/_header.html.erb
+++ b/app/views/components/_header.html.erb
@@ -7,7 +7,7 @@
- <%= link_to Rails.application.config.app_name, "/" , class: "text-xl font-bold text-white" %>
+ <%= link_to Rails.application.config.app_name, current_user ? "/dashboard" : "/", class: "text-xl font-bold text-white" %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 91f7bcf..67399d8 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -24,7 +24,7 @@
<%= render "components/header" %>
-
+
<%= render "shared/flash_messages" %>