Undo hard code of server url