Close database when done
Add some console debugging messages
Get agree/refuse buttons