changed json endpoints, working on updating user location