Money tracker in Flask