Invert params passed to res.redirect due deprecated warning

express changed parameters order in the redirect method:
```
express deprecated res.redirect(ur, status): Use res.redirect(status, url) instead
```