learning flask and follow the doc