remove debug code
Added public getter for server url