Added a route to capture data