Parse id from request and query database to display link.