Redirect edit and preview views to the success view if thread already submitted
Making changes for heroku deploy