Created a function that gets the info from database and shows it on screen