made api BASE_URL a const, make /calculate_price call on form change