having problem with res.send when it's time to render the result page