Added functionality to access the backend. (iOS).