using constant for base url