use res.send instead of res.view.