fake json functions completed (profile & history)