initialize urlBuilder in constructor