fixing url endpoints in setup;