building an social app on ios, restful webservice