Updated users api documentation. Added json responses as well