db object is shared across the session