switched getMessags over to AFNetworking