diff --git a/app/src/Handler/Channel/Page/CreateChannelPage.php b/app/src/Handler/Channel/Page/CreateChannelPage.php
index 6a086e5..31e2de8 100644
--- a/app/src/Handler/Channel/Page/CreateChannelPage.php
+++ b/app/src/Handler/Channel/Page/CreateChannelPage.php
@@ -2,14 +2,19 @@
 
 namespace Slovocast\Handler\Channel\Page;
 
+use Odan\Session\SessionInterface;
 use Psr\Http\Message\ResponseInterface as Response;
 use Slovocast\Handler\Handler;
 
 class CreateChannelPage extends Handler
 {
+    public function __construct(
+        private SessionInterface $session
+    ) { }
+
     public function handle(): Response
     {
-        // set up the form key
-        return $this->render('channel/create.twig');
+        $formKey = $this->session->get("form_key");
+        return $this->render('channel/create.twig', [ 'form_key' => $formKey ]);
     }
 }
diff --git a/app/src/Handler/User/Page/LoginUserPage.php b/app/src/Handler/User/Page/LoginUserPage.php
index b8fb62e..45949ff 100644
--- a/app/src/Handler/User/Page/LoginUserPage.php
+++ b/app/src/Handler/User/Page/LoginUserPage.php
@@ -2,13 +2,19 @@
 
 namespace Slovocast\Handler\User\Page;
 
+use Odan\Session\SessionInterface;
 use Psr\Http\Message\ResponseInterface as Response;
 use Slovocast\Handler\Handler;
 
 class LoginUserPage extends Handler
 {
+    public function __construct(
+        private SessionInterface $session
+    ) { }
+
     public function handle(): Response
     {
+        $formKey = $this->session->get("form_key");
         return $this->render('user/login.twig');
     }
 }