fix db setup
Merge branch 'user_schema' of github.com:zpiman/PiNet into user_schema