implemented AFNetworking ref #2 #3