BugFix: I was opening two connections and not closing one of them so things weren't being saved in the db correctly