added json endpoints for bidding and getting bids
just updating