Changed the url to use constants