add user model and update database.yaml to include postgres