Fix logic for existing db object so that it returns that object

Need to fix so that non-existing objects will be created
Fix results html so that views are properly rendering all results

Will need to do error handling so that only unique entries are created