a Express middleware for managing distributed user sessions