Server side for iPhone photo sync app