Backend bidding fixed

Front end still needs work