Almost done hooking up the database to the UI