adding missing fields to user & tokens tables
better db initialization
fix test_helper import
sync