introducing constant to configure api endpoints