Added SessionLocal version for With_REST_hack