Joined the UI and the database with an adapter