diff --git a/src/Application/Actions/Group/AddUserGroupAction.php b/src/Application/Actions/Group/AddUserGroupAction.php
index ee30f0eb993853f41d9f2fc068bb4ae01ca73b8b..9a37f61492c137fc63b8db3f84883f36447a7fc3 100755
--- a/src/Application/Actions/Group/AddUserGroupAction.php
+++ b/src/Application/Actions/Group/AddUserGroupAction.php
@@ -15,7 +15,7 @@ class AddUserGroupAction extends GroupAction
     protected function action(): Response
     {
         if(!isset($_SESSION['userId'])){
-            $this->flash->addMessage('login', 'Please log in or sign up.');
+            $this->flash->addMessage('message', 'Please log in or sign up.');
 
             return $this->response
             ->withHeader('Location', '/login')
diff --git a/src/Application/Actions/Group/CreateGroupAction.php b/src/Application/Actions/Group/CreateGroupAction.php
index ea94e8672e4c232bb315516c6c5e522295519139..7d2b69a2b47411b8cf046428900da4ee815ba2bf 100755
--- a/src/Application/Actions/Group/CreateGroupAction.php
+++ b/src/Application/Actions/Group/CreateGroupAction.php
@@ -17,7 +17,7 @@ class CreateGroupAction extends GroupAction
         $parsedRequestBody = (array)$this->request->getParsedBody();
 
         if(!isset($_SESSION['userId'])){
-            $this->flash->addMessage('login', 'Please log in or sign up.');
+            $this->flash->addMessage('message', 'Please log in or sign up.');
 
             return $this->response
             ->withHeader('Location', '/login')
diff --git a/src/Application/Actions/Group/DeleteGroupAction.php b/src/Application/Actions/Group/DeleteGroupAction.php
index e080aa20b08cf5d6e527c29c67917995d2180954..f0c91a45d8eee6920c1e8319788692bf53ec9680 100755
--- a/src/Application/Actions/Group/DeleteGroupAction.php
+++ b/src/Application/Actions/Group/DeleteGroupAction.php
@@ -15,13 +15,13 @@ class DeleteGroupAction extends GroupAction
     protected function action(): Response
     {
         if(!isset($_SESSION['userId'])){
-            $this->flash->addMessage('login', 'Please log in or sign up.');
+            $this->flash->addMessage('message', 'Please log in or sign up.');
 
             return $this->response
             ->withHeader('Location', '/login')
             ->withStatus(302);
         }
-        
+
         $groupId = (int) $this->resolveArg('id');
         $group = $this->groupRepository->find($groupId);
 
@@ -34,7 +34,7 @@ class DeleteGroupAction extends GroupAction
             ->withHeader('Location', '/account')
             ->withStatus(302);
         }
-        
+
         $this->em->remove($group);
         $this->em->flush();
 
diff --git a/src/Application/Actions/Group/ViewModifyGroupForm.php b/src/Application/Actions/Group/ViewModifyGroupForm.php
index 1ff41cbcb09dbb3f4b9647b9836b9416061ec499..509d42cc7188bc8fe6cbbc466ac89cebea9b5aca 100644
--- a/src/Application/Actions/Group/ViewModifyGroupForm.php
+++ b/src/Application/Actions/Group/ViewModifyGroupForm.php
@@ -14,7 +14,7 @@ class ViewModifyGroupForm extends GroupAction
     protected function action(): Response
     {
         if(!isset($_SESSION['userId'])){
-            $this->flash->addMessage('login', 'Please log in or sign up.');
+            $this->flash->addMessage('message', 'Please log in or sign up.');
 
             return $this->response
             ->withHeader('Location', '/login')
diff --git a/src/Application/Actions/User/CreateUserAction.php b/src/Application/Actions/User/CreateUserAction.php
index 076e3a7d3324ac565ee8d7a4693f1ccc4212101c..0f71786c234259482cefedcfe38bd46167b7ff3a 100755
--- a/src/Application/Actions/User/CreateUserAction.php
+++ b/src/Application/Actions/User/CreateUserAction.php
@@ -89,7 +89,7 @@ class CreateUserAction extends UserAction
 
         $this->logger->info("User has been created.");
 
-        $this->flash->addMessage('creation', 'Your account has been created. Please log in.');
+        $this->flash->addMessage('message', 'Your account has been created. Please log in.');
         return $this->response
             ->withHeader('Location', '/login')
             ->withStatus(302);