added search for bet history