adds get_listings_by_lister method to the orm db.