Adding functionality to place bids from frontend