add length to get_user_appointments_old_json
added and improved jsonify_appt
added get_user_json
jsonify_appt update
fix jsonify_appt