fixed a couple of things, added location messaging for iphone client