diff --git a/lib/authn/config.rb b/lib/authn/config.rb
index <HASH>..<HASH> 100644
--- a/lib/authn/config.rb
+++ b/lib/authn/config.rb
@@ -11,6 +11,9 @@ module AuthN
       login_password_key: :password,
       model_id_method: :id,
       model_critera_method: :where,
+      session_key_function: ->(klass) {
+        :"session_#{klass}_id"
+      }
     }
 
   end
Adding a config to handle the resolving of the session id key