Use flask's redirect() method to go to result link