Modified HomeController to use real image data from the database