front end now shows data coming from DB