flask blog project from book2