so I am looking for a solution for the following problem. I think I am already pretty near the solution, however since I am not really worked with flask before I am needing