Updated the route.js folder with a new endpoint.