diff --git a/app/Config/Events.php b/app/Config/Events.php
index bfc80658ecb069c89f607dd65919cba9a4ca21ab..17713837901732e16a4dc5fdaa190dcc06801a19 100644
--- a/app/Config/Events.php
+++ b/app/Config/Events.php
@@ -58,7 +58,7 @@ Events::on('login', function ($user) {
     // set interact_as_actor_id value
     $userPodcasts = $user->podcasts;
     if ($userPodcasts = $user->podcasts) {
-        set_interact_as_actor($userPodcasts[0]->id);
+        set_interact_as_actor($userPodcasts[0]->actor_id);
     }
 });
 
@@ -66,7 +66,7 @@ Events::on('logout', function ($user) {
     helper('auth');
 
     // remove user's interact_as_actor session
-    remove_interact_as_actor($user->id);
+    remove_interact_as_actor();
 });
 
 /*