now sending data back to the browser