def view_record_json():
    records = lrs_service.load_user_records(current_user.email)
    return jsonify(records=records)
def view_record():
    records = lrs_service.load_user_records(current_user.email)
    return render_template('learningrecord/view_record.html', records=records)