tried erasing previous session before setting the new one. it works on localhost, we will see if it works on heroku