updated the uri's to constants

changed the uri's for different api calls to string constants.