implemented json display on homepage