saving objects to database on getAllListings