setting up provider to emulate apollo