Refactoring server String and DEVICE_URL