added code to perform posting using phone's current location