working version of simple flask blog