implementing new URL connection to backend (for iOS 7)