cpsc350: interacting with databases in Flask