added constructor without service url