Starting to rework user to use RethinkDB instead of Postgres
Add login and logout methods
Fix model synchronization
Adjust UI to work with updated API
Merge branch 'rethinkdb'