Fixed redir issue

Krish Moodbidri
2021-09-09T17:47:24-05:00

- Issue: in case referrer was null, app redirected to /None
- Fix: in case of redir value in request, set session to redir value
else, set session to default referrer (from vars.py))