Updated code to pull data from DB, and updated view to accept data from controller