create routing and handler for get request to /trace