Rent Management in Flask/Python and Knockoutjs