finished submit bid functionality