Add edit_entry and delete_entry to flaskr