flask tutorial blog based on the official tutorial