adding default server URL to factory