updating with code to pull data from db, adding a centered image