updated findById to take in an id and a callback promise, rather than an http req/res
updated api endpoint for record/id and confirmation page