the flask app now understands the new posts and redirects.