Pulling json from db and displaying frontend