added user model and switched DB adapters