trying to sort out the logout issue on heroku