my version of Andrei Dan's beginning web dev with python/flask