jsonified server working. need to still fix update and delete location functions