added session
added url params when params comes from session
testing redirect on heroku
added url params when params comes from session