now bids can be added to database successfully