clean up db structure
clean up user structure
TODO transient logger?