iOS app Rails-based backend integrated with each other