Add user model and api endpoints