Add bid function to main page.