put the test db in the test homedir
Add flask app for unsubscribing