show data in front end