Removed an errant comma from @app.route('/add', methods=['POST']) that caused an 405 error.