change to use AFNetworking library