Add user model
Add updated model and api code