BROKEN APP
Implement database clearing for testing