Basis of writing to db for Yelper