Migrated auto-logout to Twig. Added slugs to all module methods that call templates