making api url a constant