user model and api changes