made server URL configurable