Adds current get/update data endpoint. FIX: user not been authenticate d...

...ue to a json convertion.