added configuration option to specify server base url