updated for AFNetworking 2.0